PDA

View Full Version : Error in siggy mys 1.3


Sensacionsk8
03-24-2012, 01:46 PM
hello friends, I hope I can help, on my website I have the following error:


Warning: readfile(http://www.musicaparaescuchar.net/../picuploads/gif/34478bd962c66bf975f54dfd6b0318aa.gif) [function.readfile]: failed to open stream: HTTP request failed! HTTP/1.1 400 Bad Request in /home/sens/public_html/musicaparaescuchar.net/siggy.php on line 148

Warning: Cannot modify header information - headers already sent by (output started at /home/sens/public_html/musicaparaescuchar.net/siggy.php:148) in /home/sens/public_html/musicaparaescuchar.net/siggy.php on line 153
Readfile appears to be disabled on your host.


hosting says the problem is in the code, which can be wrong?

my version: 1.3.0

Hall of Famer
03-24-2012, 02:22 PM
Well change

http://www.musicaparaescuchar.net/../picuploads/gif/34478bd962c66bf975f54dfd6b0318aa.gif
to

http://www.musicaparaescuchar.net/picuploads/gif/34478bd962c66bf975f54dfd6b0318aa.gif
And it will work.

Also I do not get internal server error by clicking on the links you posted on the security release thread anymore, strange:
http://www.mysidiaadoptables.com/forum/showthread.php?t=3514&page=13

Sensacionsk8
03-24-2012, 03:10 PM
Thanks, I deleted the file. htaccess to show me the picture, I get this error:
http://www.musicaparaescuchar.net/siggy.php?id=1
in the other post I copied wrong
where I can change what you say?

Hall of Famer
03-24-2012, 03:20 PM
umm show me your table prefix.filesmap, I will take a look into that.

Sensacionsk8
03-24-2012, 03:22 PM
serverpath: ../picuploads/gif/34478bd962c66bf975f54dfd6b0318aa.gif
wwwpath: http://www.musicaparaescuchar.net/../picuploads/gif/34478bd962c66bf975f54dfd6b0318aa.gif


http://i41.tinypic.com/donv5i.jpg

Hall of Famer
03-24-2012, 03:25 PM
umm I want you to take a screenshot of the prefix.filesmap table...

But anyway it seems that my assumption was correct... The serverpath is messed up because of the modification made in admuplodpics.php file. Try getting rid of the ../ part and see if it works for you.

Sensacionsk8
03-24-2012, 03:31 PM
i delete "../"

http://i41.tinypic.com/4sk1ut.jpg

and the error here:

http://www.musicaparaescuchar.net/siggy.php?id=1

Sensacionsk8
03-24-2012, 03:32 PM
Adopts modified the table now and it worked! I will try uploading another picture, thanks Hall of famer

Hall of Famer
03-24-2012, 03:38 PM
Well you will get the same problem if you try to upload another picture, wait till I fix the string inserted into table prefix.filesmap then. I will provide the download for a new admuploadpic.php file.

Edit:
I've uploaded the new admuploadpic.php file, see if it works for you this time.

Sensacionsk8
03-24-2012, 03:51 PM
yes :D thanks Hall of famer, error fixed :)