Advanced search  

News:

CPG Release 1.6.26
Correct PHP8.2 issues with user and language managers.
Additional fixes for PHP 8.2
Correct PHP8 error with SMF 2.0 bridge.
Correct IPTC supplimental category parsing.
Download and info HERE

Pages: [1] 2   Go Down

Author Topic: [Solved] I got it up but have a few issues  (Read 8907 times)

0 Members and 1 Guest are viewing this topic.

condiman

  • Coppermine novice
  • *
  • Offline Offline
  • Posts: 38
    • http://www.coralforum.com
[Solved] I got it up but have a few issues
« 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
Logged
Please forgive me for my ignorance I am new at this.

hyperion

  • VIP
  • Coppermine addict
  • ***
  • Offline Offline
  • Posts: 1317
  • - retired -
[Solved] I got it up but have a few issues
« Reply #1 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?
Logged
"Then, Fletch," that bright creature said to him, and the voice was very kind, "let's begin with level flight . . . ."

-Richard Bach, Jonathan Livingston Seagull

(https://forum.coppermine-gallery.net/proxy.php?request=http%3A%2F%2Fwww.mozilla.org%2Fproducts%2Ffirefox%2Fbuttons%2Fgetfirefox_small.png&hash=9f6d645801cbc882a52f0ee76cfeda02625fc537)

condiman

  • Coppermine novice
  • *
  • Offline Offline
  • Posts: 38
    • http://www.coralforum.com
[Solved] I got it up but have a few issues
« Reply #2 on: April 02, 2004, 03:53:05 am »

Yes there was
Logged
Please forgive me for my ignorance I am new at this.

Joachim Müller

  • Dev Team member
  • Coppermine addict
  • ****
  • Offline Offline
  • Gender: Male
  • Posts: 47843
  • aka "GauGau"
    • gaugau.de
[Solved] I got it up but have a few issues
« Reply #3 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
Logged

Casper

  • VIP
  • Coppermine addict
  • ***
  • Country: 00
  • Offline Offline
  • Gender: Male
  • Posts: 5231
[Solved] I got it up but have a few issues
« Reply #4 on: April 02, 2004, 01:08:58 pm »

I take this to mean 'yes there were spaces in the error post'.
Logged
It has been a long time now since I did my little bit here, and have done no coding or any other such stuff since. I'm back to being a noob here

condiman

  • Coppermine novice
  • *
  • Offline Offline
  • Posts: 38
    • http://www.coralforum.com
[Solved] I got it up but have a few issues
« Reply #5 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://forum.coppermine-gallery.net/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
Logged
Please forgive me for my ignorance I am new at this.

Casper

  • VIP
  • Coppermine addict
  • ***
  • Country: 00
  • Offline Offline
  • Gender: Male
  • Posts: 5231
[Solved] I got it up but have a few issues
« Reply #6 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.
Logged
It has been a long time now since I did my little bit here, and have done no coding or any other such stuff since. I'm back to being a noob here

condiman

  • Coppermine novice
  • *
  • Offline Offline
  • Posts: 38
    • http://www.coralforum.com
[Solved] I got it up but have a few issues
« Reply #7 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'
Logged
Please forgive me for my ignorance I am new at this.

condiman

  • Coppermine novice
  • *
  • Offline Offline
  • Posts: 38
    • http://www.coralforum.com
[Solved] I got it up but have a few issues
« Reply #8 on: April 02, 2004, 10:04:28 pm »

where is the link to the fix
I do not seem to see it
Logged
Please forgive me for my ignorance I am new at this.

Casper

  • VIP
  • Coppermine addict
  • ***
  • Country: 00
  • Offline Offline
  • Gender: Male
  • Posts: 5231
[Solved] I got it up but have a few issues
« Reply #9 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.
Logged
It has been a long time now since I did my little bit here, and have done no coding or any other such stuff since. I'm back to being a noob here

condiman

  • Coppermine novice
  • *
  • Offline Offline
  • Posts: 38
    • http://www.coralforum.com
[Solved] I got it up but have a few issues
« Reply #10 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
Logged
Please forgive me for my ignorance I am new at this.

condiman

  • Coppermine novice
  • *
  • Offline Offline
  • Posts: 38
    • http://www.coralforum.com
[Solved] I got it up but have a few issues
« Reply #11 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_";
?>
Logged
Please forgive me for my ignorance I am new at this.

condiman

  • Coppermine novice
  • *
  • Offline Offline
  • Posts: 38
    • http://www.coralforum.com
[Solved] I got it up but have a few issues
« Reply #12 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
Logged
Please forgive me for my ignorance I am new at this.

Casper

  • VIP
  • Coppermine addict
  • ***
  • Country: 00
  • Offline Offline
  • Gender: Male
  • Posts: 5231
[Solved] I got it up but have a few issues
« Reply #13 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;

Code: [Select]
<?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.
Logged
It has been a long time now since I did my little bit here, and have done no coding or any other such stuff since. I'm back to being a noob here

condiman

  • Coppermine novice
  • *
  • Offline Offline
  • Posts: 38
    • http://www.coralforum.com
[Solved] I got it up but have a few issues
« Reply #14 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
Logged
Please forgive me for my ignorance I am new at this.

Joachim Müller

  • Dev Team member
  • Coppermine addict
  • ****
  • Offline Offline
  • Gender: Male
  • Posts: 47843
  • aka "GauGau"
    • gaugau.de
[Solved] I got it up but have a few issues
« Reply #15 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
Logged

Casper

  • VIP
  • Coppermine addict
  • ***
  • Country: 00
  • Offline Offline
  • Gender: Male
  • Posts: 5231
[Solved] I got it up but have a few issues
« Reply #16 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.
Logged
It has been a long time now since I did my little bit here, and have done no coding or any other such stuff since. I'm back to being a noob here

condiman

  • Coppermine novice
  • *
  • Offline Offline
  • Posts: 38
    • http://www.coralforum.com
[Solved] I got it up but have a few issues
« Reply #17 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
Logged
Please forgive me for my ignorance I am new at this.

Casper

  • VIP
  • Coppermine addict
  • ***
  • Country: 00
  • Offline Offline
  • Gender: Male
  • Posts: 5231
[Solved] I got it up but have a few issues
« Reply #18 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.
Logged
It has been a long time now since I did my little bit here, and have done no coding or any other such stuff since. I'm back to being a noob here

Joachim Müller

  • Dev Team member
  • Coppermine addict
  • ****
  • Offline Offline
  • Gender: Male
  • Posts: 47843
  • aka "GauGau"
    • gaugau.de
[Solved] I got it up but have a few issues
« Reply #19 on: April 04, 2004, 09:53:49 pm »

some server setups also require you to CHMOD to 755 instead of 777...

GauGau
Logged
Pages: [1] 2   Go Up
 

Page created in 0.029 seconds with 18 queries.