View Full Version : errors after upload photo
December 20th, 2007, 06:14 PM
A new error had just appeared on my site when you upload a photo. It says upload successful, but then this shows up at the top and the photo doesnt appear.
Warning: include(/home/sladepic/public_html/forums/photopost/templates/vb3enhanced/1.tmpl) [function.include]: failed to open stream: No such file or directory in /photopost/showgallery.php on line 167
Warning: include() [function.include]: Failed opening '/home/sladepic/public_html/forums/photopost/templates/vb3enhanced/1.tmpl' for inclusion (include_path='.:/usr/lib/php:/usr/local/lib/php') in /photopost/showgallery.php on line 167
December 20th, 2007, 07:00 PM
Please check to see in Admin Edit Categories you do not have some random information in spaces where there is not suppose to be. That is saying you have a value of 1 in the frames spot but thats a drop down box on my site.
December 21st, 2007, 01:18 AM
thanks that did it, there were some odd numbers showing up, like 1.8 was in the path to watermarkbox box and 0 in the frames.
now after sorting this out, I'm getting some red X's on the showphoto page. The photo is blank. Checking the source code shows this:
I see the double slashs after data. Going back to admin and checking all paths and URLS in config and global options it all looks good. Also I'm not sure what URLS and what paths require a trailing slash and what don't in Admin.
December 21st, 2007, 01:48 AM
sorry to post again, but after going into my config-inc.php and config-int.php files I see that there are /slashes where there shouldnt be and none where there should, after fixing this all seems better.
Could I get clarification though still on what URLS and what paths need the trailing / in the admin global options, thanks.
December 21st, 2007, 09:01 AM
The only trailing slash needed is on the actual global options server path to data directory.
Looks to me like you found whatever it was.
December 21st, 2007, 03:37 PM
Thanks for all the help and quick replies, looks like I'm getting it slowly figured out except: I'm geting a red X on the main photo in the showphoto page. Checking the source code shows this:
no slash between photopost and data. I have made sure there is a trailing slash in the Admin Global Full SERVER PATH to PhotoPost data directory, it's there. Also I checked the config-int.php file, it's there also. Don't know what's causing this.. thx
December 21st, 2007, 03:50 PM
In Admin Global Options and Storage Options make sure the data url is correct with a slash between photopost and data.
December 21st, 2007, 03:54 PM
ok fixed, I had done this but it didn't seem to take effect for a while. Anyway thanks for the assistance as always.
December 21st, 2007, 04:02 PM
Not a problem glad to assist have a Merry Christmas.
December 21st, 2007, 04:02 PM
ahh, the problem was with the url in storage options, just as you suggested.
thanks and same to you..
vBulletin® v3.8.1, Copyright ©2000-2014, Jelsoft Enterprises Ltd.