I have got my gallery setup but when I try to upload pics it tells me this
Failed to create directory coralforum/ public_html / albumscoralforum/ public_html / userpics10001 !
Warning: mkdir(coralforum/ public_html / albumscoralforum/ public_html / userpics10001): No such file or directory in /home/coralfor/public_html/coppermine/db_input.php on line 222
I have created these folders and I still get this
Were the spaces in your paths in your post there in the error, or did you add them?
Yes there was
Quote from: "condiman"Yes there was
Yes there was what? When a question is asked like "is it option A or option B", you can't reply with "yes".
I guess your problem is related to CHMOD - read the section about CHMOD in the documentation. If this doesn't solve the issue, try silly_safe_mode for a start.
GauGau
I take this to mean 'yes there were spaces in the error post'.
When I am in the admin mode and when I click on the catagory to bring up the albums is it suppose to look like this even tho nothing is in the album. What I mean is should I see the three options even tho I have nothing in the album.
(https://coppermine-gallery.com/forum/proxy.php?request=http%3A%2F%2Fwww.hostedimage.com%2Fis.php%3Fi%3D18369%26amp%3Bimg%3Dalbum_menu.GIF&hash=b5b5f9dd4e69544eaf0fd9574b26279cdab8e43a)
Could this also be a part of my problem
Yes, you should see them. There is a bug in versions 1.2.1 and older, that if the first albums in a category are empty, then this cell is empty. There is a fix posted, or you can upgrade to 1.3.0, which does not have this bug.
I also looked into the file config.inc.php and I did not see the 'SILLY_SAFE_MODE'
where is the link to the fix
I do not seem to see it
Please see thiin the docs for how to do silly safe mode, http://coppermine.sourceforge.net/manual.php#safe_mode_issues.
The fix for the album problem is simply to put a pic in the first album in the category, or move an album with pics in it to the top of the category.
That is part of the problem because there are no pics uploaded yet I will try the silly safe mode and let yall know what happens
This is what is in my config.inc.php file nothing that says safe silly mode
<?php
// Coppermine configuration file
// MySQL configuration
$CONFIG['dbserver'] = "localhost"; // Your database server
$CONFIG['dbuser'] = "*****"; // Your mysql username
$CONFIG['dbpass'] = "*****"; // Your mysql password
$CONFIG['dbname'] = "********"; // Your mysql database name
// MySQL TABLE NAMES PREFIX
$CONFIG['TABLE_PREFIX'] = "cpg11d_";
?>
I also took out those spaces and I get this error
Destination directory coralforum/public_html/coppermine/albumscoralforum/public_html/coppermine/albums/userpics is not writable by the script !
But they are set to 777
You have to edit the include/config.php yourself.
Use you editor, such as notepad, to add the line "define('SILLY_SAFE_MODE', 1);" , so your config.inc.php looks like this;
<?php
// Coppermine configuration file
define('SILLY_SAFE_MODE', 1);
// MySQL configuration
$CONFIG['dbserver'] = "localhost"; // Your database server
$CONFIG['dbuser'] = "*****"; // Your mysql username
$CONFIG['dbpass'] = "*****"; // Your mysql password
$CONFIG['dbname'] = "********"; // Your mysql database name
// MySQL TABLE NAMES PREFIX
$CONFIG['TABLE_PREFIX'] = "cpg11d_";
?>
Then upload this to replace your existing file. If you can then upload ok, this was your problem. Please report back your results.
I have done what you have said and when I am in the Admin mode it will bring up the upload menu but when it trys to upload it give me this error
Destination directory coralforum/public_html/coppermine/albumscoralforum/public_html/coppermine/albums/userpics is not writable by the script !
When I am in user mode it brings up this error
Sorry there is no album where you are allowed to upload pictures
Quote from: "condiman"Destination directory coralforum/public_html/coppermine/albumscoralforum/public_html/coppermine/albums/userpics is not writable by the script !
should be pretty self-explanatory, don't you think? The destination directory is not writable - in other words: the script doesn't have permissions to write to that directory. Permissions - doesn't that ring a bell? I guess not :?
As stated in the documentation, you will have to CHMOD the albums folder with 755 or 777 (depending on your server setup).
GauGau
Quote from: "condiman"When I am in user mode it brings up this error
Sorry there is no album where you are allowed to upload pictures
This is not an error. It means you have not created any albums yet that have upload permissions set to allow others to upload.
Create an album, set it permission to allow 'visitors can upload', and then try again.
I dont mean to be rude G man but if you have read the preveous posts I have changed them both to 777 :x
Seien Sie bitte eine wenig freundlichere folgende Zeit
So this is the situation;
Your albums directory, and all folders in it, are chmod 777.
You config.inc.php has 'SILLY_SAFE_MODE' defined.
And you still cannot upload.
Please turn on 'debug mode' in config, and post the results here when you try to upload.
some server setups also require you to CHMOD to 755 instead of 777...
GauGau
This is what I get
Sorry there is no album where you are allowed to upload pictures
File: /home/coralfor/public_html/coppermine/upload.php - Line: 191
USER:
Array
(
[ID] => eecf9479340ea7f33760f28fb1aff9e1
[am] => 0
)
GET :
Array
(
)
POST :
Array
(
)
The report 'Sorry there is no album where you are allowed to upload pictures' is not an error report, as I said earlier, it means you have not created any albums yet that this user (and that includes administrator in user mode) has permission to upload to.
Create an album, using the 'Albums' link in the admin menu, then when done, click on the 'Properties' button next to the album thumb.
Set 'Visitors can upload' to YES.
Now try to upload.
www.coralforum.com/coppermine
If you look at the site you will see that there are 64 albums created and how can I hit the properties button next to the album thumb when there are no options that I see.
Please create a new test user, with upload permissions, and post the name and password here.
Please make sure that this user can also have a personnal album, as set in the groups menu.
name: test
Password: aa33
OK, I could not upload to an album I created. I got the 'Userpics Directory not writable'.
If you have tried chmod the userpics directory at both 777 and 755, then I think you need to speak to your webhost.
Have you tried uploading by ftp into new folders you create in the 'albums/yournewfolder',and then batch adding?
This is a sample of some of the errors that I see. I must have screwed something up royaly I am going to go through and see if I missed any files when I uploaded them if you have any other suggestions please let me know.
-------------------------------------------------------------------------------------
Notice: Undefined variable: visibility in /home/coralfor/public_html/coppermine/index.php on line 360
Notice: Undefined variable: visibility in /home/coralfor/public_html/coppermine/index.php on line 360
Notice: Undefined variable: visibility in /home/coralfor/public_html/coppermine/index.php on line 360
Notice: Undefined variable: visibility in /home/coralfor/public_html/coppermine/index.php on line 360
Notice: Undefined variable: visibility in /home/coralfor/public_html/coppermine/index.php on line 360
Notice: Undefined variable: visibility in /home/coralfor/public_html/coppermine/index.php on line 360
Notice: Undefined variable: visibility in /home/coralfor/public_html/coppermine/index.php on line 360
Notice: Undefined variable: visibility in /home/coralfor/public_html/coppermine/index.php on line 360
Notice: Undefined variable: visibility in /home/coralfor/public_html/coppermine/index.php on line 360
Notice: Undefined variable: visibility in /home/coralfor/public_html/coppermine/index.php on line 360
Notice: Undefined variable: visibility in /home/coralfor/public_html/coppermine/index.php on line 360
Notice: Undefined variable: visibility in /home/coralfor/public_html/coppermine/index.php on line 360
Notice: Undefined variable: visibility in /home/coralfor/public_html/coppermine/index.php on line 360
Notice: Undefined variable: visibility in /home/coralfor/public_html/coppermine/index.php on line 360
Notice: Undefined variable: visibility in /home/coralfor/public_html/coppermine/index.php on line 360
Notice: Undefined variable: visibility in /home/coralfor/public_html/coppermine/index.php on line 360
Notice: Undefined variable: visibility in /home/coralfor/public_html/coppermine/index.php on line 360
Notice: Undefined variable: visibility in /home/coralfor/public_html/coppermine/index.php on line 360
Notice: Undefined variable: visibility in /home/coralfor/public_html/coppermine/index.php on line 360
Notice: Undefined variable: visibility in /home/coralfor/public_html/coppermine/index.php on line 360
Notice: Undefined variable: visibility in /home/coralfor/public_html/coppermine/index.php on line 360
Notice: Undefined variable: visibility in /home/coralfor/public_html/coppermine/index.php on line 360
Notice: Undefined variable: visibility in /home/coralfor/public_html/coppermine/index.php on line 360
Notice: Undefined variable: visibility in /home/coralfor/public_html/coppermine/index.php on line 360
Notice: Undefined variable: visibility in /home/coralfor/public_html/coppermine/index.php on line 360
Notice: Undefined variable: visibility in /home/coralfor/public_html/coppermine/index.php on line 360
Notice: Undefined variable: visibility in /home/coralfor/public_html/coppermine/index.php on line 360
Notice: Undefined variable: visibility in /home/coralfor/public_html/coppermine/index.php on line 360
Notice: Undefined variable: visibility in /home/coralfor/public_html/coppermine/index.php on line 360
Notice: Undefined variable: visibility in /home/coralfor/public_html/coppermine/index.php on line 360
Notice: Undefined variable: visibility in /home/coralfor/public_html/coppermine/index.php on line 360
Notice: Undefined variable: visibility in /home/coralfor/public_html/coppermine/index.php on line 360
Notice: Undefined variable: visibility in /home/coralfor/public_html/coppermine/index.php on line 360
Notice: Undefined variable: visibility in /home/coralfor/public_html/coppermine/index.php on line 360
Notice: Undefined variable: visibility in /home/coralfor/public_html/coppermine/index.php on line 360
Notice: Undefined variable: visibility in /home/coralfor/public_html/coppermine/index.php on line 360
Notice: Undefined index: album_title in /home/coralfor/public_html/coppermine/themes/fruity/theme.php on line 1101
Notice: Undefined index: aid in /home/coralfor/public_html/coppermine/themes/fruity/theme.php on line 1103
Notice: Undefined index: album_adm_menu in /home/coralfor/public_html/coppermine/themes/fruity/theme.php on line 1105
Notice: Undefined index: album_desc in /home/coralfor/public_html/coppermine/themes/fruity/theme.php on line 1106
Notice: Undefined index: album_info in /home/coralfor/public_html/coppermine/themes/fruity/theme.php on line 1107
Notice: Undefined index: album_title in /home/coralfor/public_html/coppermine/themes/fruity/theme.php on line 1101
Notice: Undefined index: aid in /home/coralfor/public_html/coppermine/themes/fruity/theme.php on line 1103
Notice: Undefined index: album_adm_menu in /home/coralfor/public_html/coppermine/themes/fruity/theme.php on line 1105
Notice: Undefined index: album_desc in /home/coralfor/public_html/coppermine/themes/fruity/theme.php on line 1106
Notice: Undefined index: album_info in /home/coralfor/public_html/coppermine/themes/fruity/theme.php on line 1107
Notice: Undefined index: album_title in /home/coralfor/public_html/coppermine/themes/fruity/theme.php on line 1101
Notice: Undefined index: aid in /home/coralfor/public_html/coppermine/themes/fruity/theme.php on line 1103
Notice: Undefined index: album_adm_menu in /home/coralfor/public_html/coppermine/themes/fruity/theme.php on line 1105
Notice: Undefined index: album_desc in /home/coralfor/public_html/coppermine/themes/fruity/theme.php on line 1106
Notice: Undefined index: album_info in /home/coralfor/public_html/coppermine/themes/fruity/theme.php on line 1107
Notice: Undefined index: album_title in /home/coralfor/public_html/coppermine/themes/fruity/theme.php on line 1101
Notice: Undefined index: aid in /home/coralfor/public_html/coppermine/themes/fruity/theme.php on line 1103
Notice: Undefined index: album_adm_menu in /home/coralfor/public_html/coppermine/themes/fruity/theme.php on line 1105
Notice: Undefined index: album_desc in /home/coralfor/public_html/coppermine/themes/fruity/theme.php on line 1106
Notice: Undefined index: album_info in /home/coralfor/public_html/coppermine/themes/fruity/theme.php on line 1107
Notice: Undefined index: album_title in /home/coralfor/public_html/coppermine/themes/fruity/theme.php on line 1101
Notice: Undefined index: aid in /home/coralfor/public_html/coppermine/themes/fruity/theme.php on line 1103
Notice: Undefined index: album_adm_menu in /home/coralfor/public_html/coppermine/themes/fruity/theme.php on line 1105
Notice: Undefined index: album_desc in /home/coralfor/public_html/coppermine/themes/fruity/theme.php on line 1106
Notice: Undefined index: album_info in /home/coralfor/public_html/coppermine/themes/fruity/theme.php on line 1107
Notice: Undefined index: album_title in /home/coralfor/public_html/coppermine/themes/fruity/theme.php on line 1101
Notice: Undefined index: aid in /home/coralfor/public_html/coppermine/themes/fruity/theme.php on line 1103
Notice: Undefined index: album_adm_menu in /home/coralfor/public_html/coppermine/themes/fruity/theme.php on line 1105
Notice: Undefined index: album_desc in /home/coralfor/public_html/coppermine/themes/fruity/theme.php on line 1106
Notice: Undefined index: album_info in /home/coralfor/public_html/coppermine/themes/fruity/theme.php on line 1107
Notice: Undefined index: album_title in /home/coralfor/public_html/coppermine/themes/fruity/theme.php on line 1101
Notice: Undefined index: aid in /home/coralfor/public_html/coppermine/themes/fruity/theme.php on line 1103
Notice: Undefined index: album_adm_menu in /home/coralfor/public_html/coppermine/themes/fruity/theme.php on line 1105
Notice: Undefined index: album_desc in /home/coralfor/public_html/coppermine/themes/fruity/theme.php on line 1106
Notice: Undefined index: album_info in /home/coralfor/public_html/coppermine/themes/fruity/theme.php on line 1107
Notice: Undefined index: album_title in /home/coralfor/public_html/coppermine/themes/fruity/theme.php on line 1101
Notice: Undefined index: aid in /home/coralfor/public_html/coppermine/themes/fruity/theme.php on line 1103
Notice: Undefined index: album_adm_menu in /home/coralfor/public_html/coppermine/themes/fruity/theme.php on line 1105
Notice: Undefined index: album_desc in /home/coralfor/public_html/coppermine/themes/fruity/theme.php on line 1106
Notice: Undefined index: album_info in /home/coralfor/public_html/coppermine/themes/fruity/theme.php on line 1107
Notice: Undefined index: album_title in /home/coralfor/public_html/coppermine/themes/fruity/theme.php on line 1101
Notice: Undefined index: aid in /home/coralfor/public_html/coppermine/themes/fruity/theme.php on line 1103
Notice: Undefined index: album_adm_menu in /home/coralfor/public_html/coppermine/themes/fruity/theme.php on line 1105
Notice: Undefined index: album_desc in /home/coralfor/public_html/coppermine/themes/fruity/theme.php on line 1106
Notice: Undefined index: album_info in /home/coralfor/public_html/coppermine/themes/fruity/theme.php on line 1107
Notice: Undefined index: album_title in /home/coralfor/public_html/coppermine/themes/fruity/theme.php on line 1101
Notice: Undefined index: aid in /home/coralfor/public_html/coppermine/themes/fruity/theme.php on line 1103
Notice: Undefined index: album_adm_menu in /home/coralfor/public_html/coppermine/themes/fruity/theme.php on line 1105
Notice: Undefined index: album_desc in /home/coralfor/public_html/coppermine/themes/fruity/theme.php on line 1106
Notice: Undefined index: album_info in /home/coralfor/public_html/coppermine/themes/fruity/theme.php on line 1107
Notice: Undefined index: album_title in /home/coralfor/public_html/coppermine/themes/fruity/theme.php on line 1101
Notice: Undefined index: aid in /home/coralfor/public_html/coppermine/themes/fruity/theme.php on line 1103
Notice: Undefined index: album_adm_menu in /home/coralfor/public_html/coppermine/themes/fruity/theme.php on line 1105
Notice: Undefined index: album_desc in /home/coralfor/public_html/coppermine/themes/fruity/theme.php on line 1106
Notice: Undefined index: album_info in /home/coralfor/public_html/coppermine/themes/fruity/theme.php on line 1107
Notice: Undefined index: album_title in /home/coralfor/public_html/coppermine/themes/fruity/theme.php on line 1101
Notice: Undefined index: aid in /home/coralfor/public_html/coppermine/themes/fruity/theme.php on line 1103
Notice: Undefined index: album_adm_menu in /home/coralfor/public_html/coppermine/themes/fruity/theme.php on line 1105
Notice: Undefined index: album_desc in /home/coralfor/public_html/coppermine/themes/fruity/theme.php on line 1106
Notice: Undefined index: album_info in /home/coralfor/public_html/coppermine/themes/fruity/theme.php on line 1107
Condiman,
please send me by PM an admin logon name and password.
OK, solved.
You had the path to the albums and userpics folders wrongly specified in config.
The path should be 'albums/' and 'userpics/', but you had 'public_html/.....'.
I have changed it and it now works.
Please note the best way for you to upload, will be by ftp, then you can add many at a time, and use the batch add facility. Note, put these pics in folders in the 'albums' folder, BUT NOT in the 'userpics' folder.
Thank you casper and gaugau for all the excellent support. :) :) :) :) :)