Hello
i couldn't upload pictures to my gallery on http://gallery.svekaschoten.be (http://gallery.svekaschoten.be)
I managed to integrate the gallery with my forum so don't be suprised if you go to the forum
it's work in progress
user : test
pwd: testtest
first i got critical error so i changed the chmod to 755 since it was on 777
then i got a new error saying i can't create a folder albums/userpics/10007
i checked it out and the folder was already there with chmod 755
so i changed the owner to webserver instead of me since i read it on the forum
but it still doesn't work :s
Could someone help me?
I probably looked over something
Thanks
Andy
http://coppermine-gallery.net/demo/cpg14x/docs/index.htm#upload_trouble (http://coppermine-gallery.net/demo/cpg14x/docs/index.htm#upload_trouble)
Follow the steps mentioned in that part of the documentation and provide the info needed.
# Enable debug mode for everyone Done
# Leave display of notices switched off Done
# Save the new settings by clicking on "Save new configuration" Done
# Go to the "groups" panel
# Set the upload form configuration for all groups to "Single file uploads only" (set File upload boxes to "1", URI upload boxes to "0" and No. of boxes to "fixed") Done
I tried uploading it then i got an error i searched the board and i found one and solved it (777 to 755) then i got another message but i didn't found a useful answer :s
Quote from: Andy_Delbaere on August 23, 2007, 12:37:15 AM
then i got another message but i didn't found a useful answer :s
Sorry i left my mind reading hat at home ;). What does the message say ?
Error message is
QuoteFailed to create directory albums/userpics/10007 !
which means that the user the webserver runs under doesn't have permissions to create a sub-folder. This is related to permissions, so make sure that your efforts to change permissions actually stick. You will maybe have to ask your webhost for support if doing as suggested in the permissions section of the docs doesn't help.
I tried to change that
I have 2 options: I can change the owner to You (he means me ;) ) or Webserver.
I put everything under userpics to Webserver.
Do you think i should put the whole albums/ folder under Webserver??
Or not all the folders and files?
The albums folder and everything within it should be owned by the webserver.
mm
what should i change then?
the chmod?
in albums/ and all subfolders and items?
Ownership changes are being performed using the CHOWN command on Lunix-driven systems. Usually, when webhosted, you can't do this on your own - your webhost will have to apply this for you.
Quote from: GauGau on August 23, 2007, 08:08:25 AM
Ownership changes are being performed using the CHOWN command on Lunix-driven systems. Usually, when webhosted, you can't do this on your own - your webhost will have to apply this for you.
It seems i can change this
Change dir owner (chown):
Dirname: /gallery/albums/userpics
Current owner: You
New setting: You or Webserver Recursive or not
This is an example
Can you tell me what folders need to change and to what owner??
I can only change owner to You or Webserver
If it should be something else let me know which one so i can tell it to my webhost.
Thanks
Quote from: GauGau on August 23, 2007, 07:38:03 AM
The albums folder and everything within it should be owned by the webserver.
Ok i changed everything in the albums folder to me being the owner.
but i still can't upload :s
i get an error: Destination folder can't be written by the script
You got two choices: make the folder be owned by you or the webserver. I adviced you to make it owned by the webserver. You set it to be owned by you. Then you complain that things don't work as expected. Don't you think that you made a mistake? Is this a language issue? Don't you understand what I'm saying? ::)
If you don't understand how to accomplish this, do as I suggested above: ask your webhost for support.
The albums folder and everything within it needs to be owned by the user the webserver runs under. The user the webserver runs under needs rxw permissions for all files and folders within the albums folder. Tell your webhost exactly what I just posted, or make them read this thread. I'm out of this thread.
Quote from: GauGau on August 24, 2007, 08:16:21 AM
You got two choices: make the folder be owned by you or the webserver. I adviced you to make it owned by the webserver. You set it to be owned by you. Then you complain that things don't work as expected. Don't you think that you made a mistake? Is this a language issue? Don't you understand what I'm saying? ::)
Perhaps i misunderstood you but 2 posts up you quoted yourselfQuoteQuote from: GauGau on Yesterday at 07:38:03 AM
The albums folder and everything within it shouldn't be owned by the webserver.
Maybe it's just me but i understand from that sentence that the albums folder is NOT owned by the webserver and that leaves me with only one option YOU
Yes maybe this is a language issue english isn't my motherlanguage so if i misunderstood you please let me know in a proper way.Quote from: GauGau on August 24, 2007, 08:16:21 AMIf you don't understand how to accomplish this, do as I suggested above: ask your webhost for support.
The albums folder and everything within it needs to be owned by the user the webserver runs under. The user the webserver runs under needs rxw permissions for all files and folders within the albums folder. Tell your webhost exactly what I just posted, or make them read this thread. I'm out of this thread.
I know how to set the owner and how to set permissions
this is how it's being showed by my webhost
Folder Owner Permissions
albums You 755 (drwxr-xr-x)
Anyone else who wants to help since it looks like he left??
Album should be set to 777. If you installed your cpg yourself then you would have gotten a message during installation asking you to set certain folders to 777.
Did you install your cpg yourself or did your webhost do that for you ?
My webhost provides certain autoinstallers and one of them was Coppermine
I picked coppermine because i liked the reviews and the gallery itself and the integration with phpbb
hopefully i get this working :)
i'm still trying ;)
Auto installers usually are crappy at best. Which auto installer do they use ?
My advice to you is get rid of your current cpg. Download the latest stable version (1.4.12) and install it yourself. That way you have it all under control and you learn how to install and maintain cpg yourself instead of relying on a auto installer which basicly keeps you in the dark.
I might do that if i don't get it up and working soon
i don't know which auto installer they use
my webhost is www.servage.net but i don't see much info about the scripts :s
http://www.servage.net/page/autoinstaller/ (http://www.servage.net/page/autoinstaller/) Not sure which auto installer they use but i suggest you do it manually anyway. That way your cpg is not influenced by any settings in that auto installer which might corrupt your cpg.
Quote from: Andy_Delbaere on August 24, 2007, 09:49:21 AM
Perhaps i misunderstood you but 2 posts up you quoted yourself
I'm really sorry - this has been wrong. Of course, the sentence should have said
QuoteThe albums folder and everything within it should be owned by the webserver.
Please accept my apologies for posting wrong information and doing so twice. I corrected by above postings (for reference in search engine). Your above quote contains my original posting, which is wrong. I'm a bonehead, sorry again.
no problem i figured it should be something like that
apologies accepted ;)
I also changed the settings so that webserver owns the whole albums folder and everything in it
but it appears that there is still something wrong :s
do you have any more suggestions i can try? i put the permissions on 777 and later on 755 but every time it stays the same :s
I read through the servage site and it appears they auto-install cgp 1.4.10. The latest stable en secure version is 1.4.12
If i were you i'd download 1.4.12 and install that one instead of relying on their outdated autoinstaller for cpg.
mm it appears so yes
i just looked through the coppermine settings and it says 1.4.10 (stable)
is there a way to update it through the administrators toolbox or gallery settings?
or is it reinstalling again??
http://coppermine-gallery.net/demo/cpg14x/docs/index.htm#14
Hello again
I reinstalled the forum and everything works fine :)
thanks for your help
i think i forgot the include folder to change permissions
for the search here is a solution from the doc files
change permissions on the: "include", "albums", "albums/userpics", and "albums/edit" directories to 777.
Thanks for your time and help.
This can be closed.