View Full Version : New EE Install - Main Pix Not Found
ArtM
24th of September 2002 (Tue), 17:03
I have set up EE for a test; before committing major time.
I am running W98SE client & a home server based on OmniHttpd (www.omnicron.ca), Mysql 3.23.39, PHP 4.1.1
Have set server to point to the EE directory & added a new folder - 'firstpix' & subfolders fullscreen(default), original,thumbs,microthumbs & supplied consistently named jpg's in all.
I cannot get the 'fullscreen' version to come up when clicking a thumb/microthumb on the running EE system. It goes into a long wait, a screen comes up like it was going to show the image - but no photo !
I checked/rechecked paths & have run the Size path validity checker in the photo editor. All looks ok, including thumb, microthumb paths & images that come up ok.
It DOES bomb the 'Path Functionality Checker' in the Path Editor & does not find the full/original images. BUT the paths look perfect !!!
I DO notice an exceptionally long path presented to the server.
I'm lost !! Further debugging tips appreciated !
- Art
Pekka
25th of September 2002 (Wed), 06:40
Could you mail me one or two paths which do not work?
I suspect that the problem there is in spaces and special characters in paths or filenames. Next EE will handle all those well, but 1.22 does not.
Other guess is that the images are outside your servers www root and so outside browser's reach.
If path analysis tells it can not find the image, it really means a browser can not reach them by URL. It is a simulation of browsing to the image (same as pasting a path + filename to the browser address line and pressing enter)
ArtM
25th of September 2002 (Wed), 14:57
> Could you mail me one or two paths which do not work?
Information has been e-mailed
>I suspect that the problem there is in spaces and special characters in paths or filenames. Next EE will handle all those well, but 1.22 does not.
Don't know. The browser & server URL's look consistent on first glance.
>Other guess is that the images are outside your servers www root and so outside browser's reach.
Nope. All images are within root.
>If path analysis tells it can not find the image, it really >means a browser can not reach them by URL. It is a
>simulation of browsing to the image (same as pasting >a path + filename to the browser address line and
>pressing enter)
Browser seems to be sending a LOT more than just web+file Name !
- Art
Pekka
25th of September 2002 (Wed), 15:46
artm wrote:
> Could you mail me one or two paths which do not work?
Information has been e-mailed
Thanks. I found the problem. The web server/PHP combination you have hangs when trying to execute PHP function "getimagesize" ( http://fi2.php.net/manual/fi/function.getimagesize.php ). It is used in path analyzer and when Misc Settings' "When image file is not found" -setting is at no.2 or 3. Setting no. 1 (Let browsers handle error icons) bypasses that function on photo page so when you use it all photos show up.
The reason for omnihttp hanging could be some permission problem between PHP and it, I suppose if you contact the authors of it and tell about the problem you'll find out a solution.
Browser seems to be sending a LOT more than just web+file Name !
Yes, but that data does not contain path and filename :)
ArtM
26th of September 2002 (Thu), 03:46
Thanks Pekka for your help.
With the Misc Settings Global 'When Image File Not Found' drop down box selection is at 1, EE is back in action to display photos.
Solving the 'GetImageSize' problem would still be desirable to get Path Analysis working properly though.
I presume 'GetImageSize' is a built in function of PHP ? Does it need anything else or other settings to run properly ? Perhaps a PHP flag/error setting of some sort ?
Perhaps I will try to update PHP to a later version to see if that overcomes the problem.
admin
26th of September 2002 (Thu), 07:00
There is no mention of any significant problems with GetImageSize in http://fi2.php.net/ChangeLog-4.php in any version above 4.05. There are not open bugs related to GetImageSize in http://bugs.php.net/search.php?cmd=display&search_for=getImageSize&x=6&y=6
That is why I suspect the problem is in server, not PHP.
Have you checked this:
http://omnicron.ca/httpd/docs/php.html
Let me know when you get it to run, I'd love to include info on this on EE website.
millsdo
26th of September 2002 (Thu), 09:52
I struggled with this for hours...and as it turns out, it was a simple fix. The program was looking for .jpg and the files were .JPG. It was an uppercase and lowercase thing.
Maybe it's the same for someone else.
Lee
ArtM
26th of September 2002 (Thu), 10:32
I struggled with this for hours...and as it turns out, it was a simple fix. The program was looking for .jpg and the files were .JPG. It was an uppercase and lowercase thing.
Maybe it's the same for someone else.
Lee
Good Idea ! I hit this one too. But figured it out. All files in every directory/folder are lower case .jpg's
- Art
vBulletin® v3.6.12, Copyright ©2000-2012, Jelsoft Enterprises Ltd.