4images Forum & Community
4images Issues / Ausgaben => Discussion & Troubleshooting => Topic started by: zora on January 02, 2006, 04:07:51 PM
-
First of all - Happy New Year!!!
Now about my problem...Today I made changes to code to get script working on server with "safe mode on". Everythig was fine, I made directories in /data/thumbnails/1 and /data/media/1 chmod them 777 and uploaded few images sucsessfully. Then I deleted categories. Now I was trying to create new categories, new categories was created ok but I got message:Mauvaise connexion FTPEssaye de se connecter a 193.108.185.185 for user
And finally I m not able too upload images anymore; message - Error uploading image file: DSC08709.JPG
DSC08709.JPG: Copy error. Please check the directory permissions.
No database entry!
I made new folders "1" chmod them 777, but problem still exists.
Can somebody hel me?
-
Folder "1" was only an example, you'll need recreate all folders that you can find in data/media/ and data/thumbnails/
Every new category will create new folder in these directories, and the folder name will be the same as the category ID.
-
OOOh, that means, if new categories ID is 9, and I delete previous categories and folders in data/media etc..., the new folder i must define as 9..???
-
Yes. Even if you delete a category, the ID of that category, to avoid confusion, will never be used in the future.
-
Ok, thanks, now it works. I got in touch with server admin and they said, thet now safe mode is turned of. So now it could be possible to use original code (without changes) and script will create folder automaticly???
-
So now it could be possible to use original code (without changes) and script will create folder automaticly???
Yes, if permissions are correct ;)