World Photography Forum

World Photography Forum (https://www.worldphotographyforum.com/index.php)
-   Computers and The Internet (https://www.worldphotographyforum.com/forumdisplay.php?f=26)
-   -   Problem trying to load photos into a gallery (https://www.worldphotographyforum.com/showthread.php?t=2936)

John Hallas 06-12-07 16:35

Problem trying to load photos into a gallery
 
Trying to load 3 photos for the first time

a) How do you multi select photos from the explorer menu?
b) Getting error the following error each time I try. I am guessing the server or database needs a restart. Could be something I am doing though

Warning: file_exists() [function.file-exists]: open_basedir restriction in effect. File(/usr/bin/jpegtran) is not within the allowed path(s): (/home/wpf/:/usr/lib/php:/usr/local/lib/php:/tmp) in /gallery/image-inc.php on line 455

Fatal error: Allowed memory size of 33554432 bytes exhausted (tried to allocate 6400 bytes) in /home/wpf/public_html/gallery/image-inc.php on line 115

Roy C 06-12-07 22:15

Must be something you are doing wrong, I have had no problems uploading tonight. Are you trying to upload three pics at once? What is the size of the pics ?

John Hallas 06-12-07 22:22

150K each. I have tried individually as well. They seem to be stored in an uplaod area somewhere

I have sent them to work and will try again tomorrow

Saphire 06-12-07 22:35

I can't think what you maybe doing wrong. Where are you uploading from, your hard disk or on a server. If its a server that could be the problem.

The best size for uploads is no bigger than 1024 on the longest side, 800 is better then people don't have to scroll to view the photo and no bigger than around 200kb.

John Hallas 07-12-07 07:15

When you go to Gallery /Upload Photos you see an option
"Skip upload and process the files already in your upload directory"

Where is that? I think I need to clear it out and start afresh as my 3 files are in there each time

John Hallas 07-12-07 09:10

Just tried from work PC as well and I see 3 files in there still to upload, so they must be on the WPF server. Load only a new file and get the following. I think I have a large file loaded on the WPF server and I need to clear that out somehow

Warning: file_exists() [function.file-exists]: open_basedir restriction in effect. File(/usr/bin/jpegtran) is not within the allowed path(s): (/home/wpf/:/usr/lib/php:/usr/local/lib/php:/tmp) in /gallery/image-inc.php on line 455

Fatal error: Allowed memory size of 33554432 bytes exhausted (tried to allocate 6400 bytes) in /home/wpf/public_html/gallery/image-inc.php on line 115

yelvertoft 07-12-07 09:12

Johhny,

The process for uploading to the gallery should be:
1) Click on "Gallery" link, which is the third from the left on the blue banner at the very top of the site home page.
2) Click on "Upload Photos" link which is on the far right hand side of the third blue banner down on the resulting gallery page.
3) Select an appropriate category for your photo from the drop down selection adjacent to the text "Choose a category to upload your images to.
Pick a category that relates most to your image(s)." Do NOT keep it on the default "Member Galleries - Do not upload here".
4) Click on the "Browse" button adjacent to the text "Select the photos you wish to upload from your computer:"
5) Find the photo you want to upload from your computer
6) Enter a title for the photo. Give it a meaningful, unique title, it will help.
7) Enter a description - something you want to say about the photo. Ignore the "keywords" box on this page, any text entered here for some reason gets cleared on the next screen. Don't ask, I don't know why.
8) Click on the "Upload/Submit" button.
9) You will then see a page titled "Add Photos - Select Photos / Configure Properties" where you can add more information to that which you have already entered. The keywords box does function at this point BTW.
10) Click on the "Process" button at the bottom.

Repeat as required up to the maximum of 4 photos per 24 hours.

The picture should then appear on the gallery page, be entered in the appropriate gallery sub section and be automatically entered in your personal member gallery.

As Christine has said, please observe the size limits. Max 200kB (ideally <100, but some pictures compress better than others). Most people can see the images at their best when 1024 pixels wide (landscape) or 800 high (portrait).

Hope this helps.

Regards,

Duncan

yelvertoft 07-12-07 09:17

Quote:

Originally Posted by johnnybike (Post 25006)
When you go to Gallery /Upload Photos you see an option
"Skip upload and process the files already in your upload directory"

Where is that? I think I need to clear it out and start afresh as my 3 files are in there each time

It's in the "Extra Options" section just below and off to the right of the "Upload/Submit" button I mention in step 8 above. Can't say I've ever used it though.

John Hallas 07-12-07 09:33

The extras option has a check to skip the upload and process files already in the upload folder. I want the opposite.
Want I think I want to do is empty my upload folder as that is where the problem is I think. I am guessing (pretty certain) that I have a large file uploaded in there, before I resized my file.

I have been through the list that you provided numerous times and I am still having problems.

John

yelvertoft 07-12-07 09:58

Quote:

Originally Posted by johnnybike (Post 25010)
The extras option has a check to skip the upload and process files already in the upload folder. I want the opposite.
Want I think I want to do is empty my upload folder as that is where the problem is I think. I am guessing (pretty certain) that I have a large file uploaded in there, before I resized my file.

John

John,

If you get to the page titled "Add Photos - Select Photos / Configure Properties" that I mention in step 9, you'll see all the photos you have waiting to be uploaded. Each of these will have a tick box next to them. Untick the box next to the image(s) you don't want to upload.

If you can explain clearly at which stage in the procees I've described you are having your problems then it would help.

Duncan

John Hallas 07-12-07 12:05

Duncan, I can do everything you suggest - items 1-10
I can see the images ready for upload, with a tick next to them. I untick all (3 of them) and retick one and I get the error message I have shown. I can untick them al and try to process but this says no image to process.

I am sorry to be so unhelpful (believe it or not but I am an IT consultant) but everything seems so self-obvious and yet I am still having problems.

I still contend that the server must be keeping a record (or the actual images) of the first one that I tried to load that was too big and that is causing ongoing problems.

yelvertoft 07-12-07 12:24

John,

I'm afraid I don't know how to remove files stuck on the server. If you had a picture in your gallery then I have the moderator option to "Delete all pictures in this usre's gallery", which would presumably fix it. As your gallery appears to me as empty, I can't delete anything.

Time to get Andy/Steve/Ollie (Admin) involved I think. I'll send a PM.

Duncan

Saphire 07-12-07 13:54

John, have you tried clearing your cache, sometimes this works.

John Hallas 07-12-07 14:21

Christine, I effectively did that by using the works computer today whereas I used the home one yesterday. I will try again now though

I am sure my photos are eagerly awaited after all this build up

Andy 07-12-07 17:26

I've used the 'delete all users photos', just on the off-chance that may clear the image cache. Actually logging off may have an effect as that's not the same to the software as simply logging-on on another pc.

I have a feeling the gallery image cache clears itself after a day or two... so it may be worth being patient.

If still no joy, then I'll have to get Ollie to have a look at the main database.

The system is pretty robust and often has to deal with members accidentally uploading massive images, with no ill effects.
cheers,
Andy

John Hallas 07-12-07 18:46

Thanks Andy and everyone else. Logging out did not help. I still get the following error

Warning: file_exists() [function.file-exists]: open_basedir restriction in effect. File(/usr/bin/jpegtran) is not within the allowed path(s): (/home/wpf/:/usr/lib/php:/usr/local/lib/php:/tmp) in /gallery/image-inc.php on line 455

Fatal error: Allowed memory size of 33554432 bytes exhausted (tried to allocate 6400 bytes) in /home/wpf/public_html/gallery/image-inc.php on line 115

Saphire 07-12-07 18:49

John, I have just had a thought, occasionally I get the same error but it continues to load the photo with no problem, do you stop at that point or do you still carry on loading.

I have just looked and its not the same error.

miketoll 07-12-07 20:17

If all else fails you can always rejoin the forum as johnybike2 and start again! ;)

John Hallas 07-12-07 20:43

No luck Christine, I have no option to continue.

I might rejoin as something else. After watching LOTR 2 the other night I thought Gandalf's horse might make a good forum name - Shadowfax

Andy 07-12-07 21:26

Hi,
Please do not rejoin and start another account at the moment. I have contact our techy and hopefully he will resolve the problem in the next 24hours.
cheers,
Andy

John Hallas 14-12-07 20:29

I am sure you will all be so pleased for me now that I have got an image loaded.
Andy (Admin) was assisting me and pointed out that my image was too large. I sent him a screen shot showing it was only 190Kb. He meant the pixel sizes. I adjusted to 800*600 and loaded with no problems.

Earlier in this thread (Christine) mentioned selecting a specific size but I must admit I never looked at the image size once I knew the file size was within range.

Thanks to everyone for their assistance. Let the (constructive) criticism flow

Andy 14-12-07 21:12

Excellent!!
You can upload to a maximum of 1024x768 in the gallery but anything larger is generally wasted as most will have to scroll around to view it.
cheers,
Andy

cheers,
Andy


All times are GMT +1. The time now is 16:31.

Powered by vBulletin® Version 3.7.3
Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.