Miles long getimagesize warnings in admincp

Forum
Last Post
Threads / Messages

Dinocanid

Member
Member
Joined
Aug 30, 2016
Messages
520
Points
18
Age
23
Location
Maryland, USA
Mysidian Dollar
43,334
When I manage owned adoptables in the admincp I get a bunch of these warnings:
Code:
Warning: getimagesize([url]http://adopttest.mysidiahost.com/picuploads/m.png):[/url] failed to open stream: HTTP request failed! HTTP/1.1 404 Not Found in /home/adopttes/public_html/classes/class_image.php on line 114

Warning: getimagesize([url]http://adopttest.mysidiahost.com/picuploads/Male.png):[/url] failed to open stream: HTTP request failed! HTTP/1.1 404 Not Found in /home/adopttes/public_html/classes/class_image.php on line 114

Warning: getimagesize([url]http://adopttest.mysidiahost.com/picuploads/Female.png):[/url] failed to open stream: HTTP request failed! HTTP/1.1 404 Not Found in /home/adopttes/public_html/classes/class_image.php on line 114

Warning: getimagesize([url]http://adopttest.mysidiahost.com/picuploads/.png):[/url] failed to open stream: HTTP request failed! HTTP/1.1 404 Not Found in /home/adopttes/public_html/classes/class_image.php on line 114

I have to scroll for forever to get to the actual list of adoptables. All of the gender symbol images appear to be broken besides the female image. This doesn't stop me from managing adopts, but it is annoying to scroll through all of that whenever I visit the page.
 
Well you are missing these image files on your server: m.png, Male.png, Female.png and .png. The first one was included in the original package, so unless you removed it you shouldnt get this problem. In fact, I saw f.png but not m.png, no idea why this happens. Male.png and Female.png do not exist on Mysidia, so maybe you modified your script to use the nonexistent images?

Edit: I found your images file in /picuploads/png subfolder, not in the /picuploads folder. So good chance is that you moved your images to the /png subfolder and forgot to update the script to load the correct images. To solve this problem, you will need to edit your script files to use the correct image path.
 
That fixed it, thank you! I didn't edit any code to change the image path, I think I just saw the errors pop up and moved them to the wrong place; making things worse.
 
You are welcome. Usually the getimagesize() error has something to do with incorrect image path, size or permission. In this case, its better to examine the script that loads the images and see if the images are loaded properly.
 

Similar threads

Users who are viewing this thread

  • Forum Contains New Posts
  • Forum Contains No New Posts

Forum statistics

Threads
4,280
Messages
33,129
Members
1,603
Latest member
Monako
BETA

Latest Threads

Latest Posts

Top