coppermine-gallery.com/forum

Support => Older/other versions => cpg1.2 Standalone Support => Topic started by: condiman on April 01, 2004, 10:16:52 PM

Title: [Solved] I got it up but have a few issues
Post by: condiman on April 01, 2004, 10:16:52 PM
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
Title: [Solved] I got it up but have a few issues
Post by: hyperion on April 01, 2004, 11:38:36 PM
Were the spaces in your paths in your post there in the error, or did you add them?
Title: [Solved] I got it up but have a few issues
Post by: condiman on April 02, 2004, 03:53:05 AM
Yes there was
Title: [Solved] I got it up but have a few issues
Post by: Joachim Müller on April 02, 2004, 07:41:39 AM
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
Title: [Solved] I got it up but have a few issues
Post by: Casper on April 02, 2004, 01:08:58 PM
I take this to mean 'yes there were spaces in the error post'.
Title: [Solved] I got it up but have a few issues
Post by: condiman on April 02, 2004, 09:36:17 PM
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
Title: [Solved] I got it up but have a few issues
Post by: Casper on April 02, 2004, 09:49:24 PM
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.
Title: [Solved] I got it up but have a few issues
Post by: condiman on April 02, 2004, 10:00:38 PM
I also looked into the file config.inc.php and I did not see the 'SILLY_SAFE_MODE'
Title: [Solved] I got it up but have a few issues
Post by: condiman on April 02, 2004, 10:04:28 PM
where is the link to the fix
I do not seem to see it
Title: [Solved] I got it up but have a few issues
Post by: Casper on April 02, 2004, 10:10:33 PM
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.
Title: [Solved] I got it up but have a few issues
Post by: condiman on April 02, 2004, 10:13:25 PM
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
Title: [Solved] I got it up but have a few issues
Post by: condiman on April 02, 2004, 10:19:34 PM
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_";
?>
Title: [Solved] I got it up but have a few issues
Post by: condiman on April 02, 2004, 10:23:37 PM
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
Title: [Solved] I got it up but have a few issues
Post by: Casper on April 03, 2004, 12:54:38 AM
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&#40;'SILLY_SAFE_MODE', 1&#41;;

// MySQL configuration 
$CONFIG['dbserver'&#93; = "localhost"; // Your database server 
$CONFIG['dbuser'&#93; = "*****"; // Your mysql username 
$CONFIG['dbpass'&#93; = "*****"; // Your mysql password 
$CONFIG['dbname'&#93; = "********"; // Your mysql database name 


// MySQL TABLE NAMES PREFIX 
$CONFIG['TABLE_PREFIX'&#93; = "cpg11d_"; 
?>


Then upload this to replace your existing file.  If you can then upload ok, this was your problem.  Please report back your results.
Title: [Solved] I got it up but have a few issues
Post by: condiman on April 04, 2004, 05:41:30 AM
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
Title: [Solved] I got it up but have a few issues
Post by: Joachim Müller on April 04, 2004, 06:45:06 AM
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
Title: [Solved] I got it up but have a few issues
Post by: Casper on April 04, 2004, 11:36:09 AM
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.
Title: [Solved] I got it up but have a few issues
Post by: condiman on April 04, 2004, 04:37:55 PM
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
Title: [Solved] I got it up but have a few issues
Post by: Casper on April 04, 2004, 04:56:58 PM
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.
Title: [Solved] I got it up but have a few issues
Post by: Joachim Müller on April 04, 2004, 09:53:49 PM
some server setups also require you to CHMOD to 755 instead of 777...

GauGau
Title: [Solved] I got it up but have a few issues
Post by: condiman on April 05, 2004, 10:25:11 AM
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
(
)
Title: [Solved] I got it up but have a few issues
Post by: Casper on April 05, 2004, 11:22:03 AM
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.
Title: [Solved] I got it up but have a few issues
Post by: condiman on April 05, 2004, 07:54:42 PM
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.
Title: [Solved] I got it up but have a few issues
Post by: Casper on April 05, 2004, 09:01:12 PM
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.
Title: [Solved] I got it up but have a few issues
Post by: condiman on April 05, 2004, 09:26:42 PM
name: test
Password: aa33
Title: [Solved] I got it up but have a few issues
Post by: Casper on April 05, 2004, 09:43:16 PM
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?
Title: [Solved] I got it up but have a few issues
Post by: condiman on April 06, 2004, 08:31:39 PM
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
Title: [Solved] I got it up but have a few issues
Post by: Casper on April 07, 2004, 12:51:13 AM
Condiman,
please send me by PM an admin logon name and password.
Title: [Solved] I got it up but have a few issues
Post by: Casper on April 07, 2004, 11:17:16 AM
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.
Title: [Solved] I got it up but have a few issues
Post by: condiman on April 08, 2004, 02:03:37 PM
Thank you casper and gaugau for all the excellent support. :)  :)  :)  :)  :)