Coppermine 1.4.10; with no plug-ins, bridged to SMF.
SMF 1.1.2
Test account:
user = testacc
Password = cpgtest
When trying to use the ‘Upload file’ function the following error is displayed;
Failed to create directory ../albums/../userpics/10064 !
File: /var/www/vhosts/mykimbrell.com/httpdocs/cpg1410/db_input.php - Line: 318
Note: A little over one week ago I made a fresh install of cpg by completely removing the old cpg 1.4.10, making a new MySQL db, installing a fresh copy of cpg 1.4.10 and then importing the saved copy of my database files. It all went along with no problems and no apparent issues except for this one error. (this file upload issue was not present in the install that was removed)
Also please note that in the old install there were two plug-ins, if that makes any difference. (They have not been reinstalled)
JUploads…
http://forum.coppermine-gallery.net/index.php?topic=43432.0Backup & Restore…
http://forum.coppermine-gallery.net/index.php?topic=40439.0CpmFetch was also being used, but it has not been reinstalled yet.
This error happens for any user account tested so far (6) including the two ‘admin’ user accounts.
The ‘Batch add files’ function is working when logged into either of the two admin accounts.Knowing that this issue has been raised many times here in the Coppermine forum I have been reading numerous threads on the subject and tried to follow the trouble-shooting thread and have gone through the process 4 times in the past week.
Tried so far:
1/ File permissions have been reset and tried on both 0777 & 0755;
I’ve tried the permissions reset with FileZilla, the Plesk control panel for my site admin and also contacted my host and he reset the files for me just in case it was not working correctly from my end… the same error occurs at any setting.
2/ In the cpg configuration panel it shows the files default as 0644, that was changed to 0777 as part of the testing process, but to no effect.
3/ Directory’s set to:
‘../albums/’ & ‘albums/’
‘../userpics/’ & ‘userpics/’
… In one of the threads I had seen the ‘../’ removed from the path so I tried it but it no apparent effect.
4/ Insert the ‘Silly_Safe_Mode’ code snippet into /include/config.inc.php as defined in the trouble-shooting thread.
5/ In the groups console and in the config console the settings have been adjusted as directed in the trouble-shooting thread.
6/ Tried the uploads in three different browsers and two different computers trying to make sure that it is not a browser issue; IE7 gives a slightly different error message from what is seen in FF & K-Mellon:
Destination directory ../albums/../userpics/ is not writable by the script !
File: /var/www/vhosts/mykimbrell.com/httpdocs/cpg1410/db_input.php - Line: 331
Sorry for being so long winded, but I tried to cover all of the steps outlined in the trouble-shooting thread.
http://forum.coppermine-gallery.net/index.php?topic=24088.0Thanks for any assistance… Ken.