forum.coppermine-gallery.net

Support => Older/other versions => cpg1.2 Standalone Support => Topic started by: girlongixxer on October 22, 2003, 02:17:03 am

Title: CHMOD
Post by: girlongixxer on October 22, 2003, 02:17:03 am
I have my photo gallery loaded, now I tried to upload a picture to it and it says it was not uploaded.  So I did a CHMOD to 777 and still can't upload.  Any suggestions?
Title: CHMOD
Post by: hyperion on October 22, 2003, 02:18:44 am
Check your php.ini file. Your PHP configuration is most likely at fault.
Title: CHMOD
Post by: girlongixxer on October 22, 2003, 02:21:48 am
Ok, so what will I be looking for?
Title: CHMOD
Post by: girlongixxer on October 22, 2003, 02:25:32 am
I do not see a php.ini file.. :cry:
Title: CHMOD
Post by: hyperion on October 22, 2003, 02:27:09 am
The usual suspects.

File Upload: Off or On?

Openbasedir: Set to any directory?

Temporary Directory : Set or not?

Safe Mode: On or off?

Upload size limit: Too small?

Quote from: "girlongixxer"
I do not see a php.ini file..
Quote


Is this your server, or are you hosted? Php.ini is not part of Coppermine. OS helps greatly in diagnosis.

if you are hosted, run the following as a php script:

[code]

<?php
phpinfo();
?>

[code]

Post a link to it here.
Title: CHMOD
Post by: girlongixxer on October 22, 2003, 02:29:50 am
where do you see that at?
Title: CHMOD
Post by: girlongixxer on October 22, 2003, 02:31:39 am
this is what is in php.info

<?php
/* $Id: phpinfo.php,v 1.9 2002/10/23 04:17:43 robbat2 Exp $ */
// vim: expandtab sw=4 ts=4 sts=4:


/**
 * Gets core libraries and defines some variables
 */
require('./libraries/grab_globals.lib.php');
require('./libraries/common.lib.php');


/**
 * Displays PHP information
 */
$is_superuser = @PMA_mysql_query('USE mysql', $userlink);
if ($is_superuser || $cfg['ShowPhpInfo']) {
    phpinfo();
}
?>
Title: CHMOD
Post by: hyperion on October 22, 2003, 02:32:03 am
Remain calm.  :)  My previous post has been edited.
Title: CHMOD
Post by: girlongixxer on October 22, 2003, 02:33:13 am
http://ruffryderstx.com/houstongallery/
Title: CHMOD
Post by: hyperion on October 22, 2003, 02:38:47 am
Sorry, can't help you.  You've removed the Coppermine link.
Title: CHMOD
Post by: girlongixxer on October 22, 2003, 02:41:28 am
so should i try to take it down and the reinstall?
Title: CHMOD
Post by: hyperion on October 22, 2003, 02:47:58 am
I think you've missed my point.

No Coppermine link means no tech support.

Ruff Ryders Houston would be pretty disappointed to know you're trying to get their chapter on Pirated Sites, and Ruff Ryders would be even more upset.
Title: CHMOD
Post by: girlongixxer on October 22, 2003, 02:58:10 am
Whaaaaaaaaat?  I didn't even install it.  I wouldn't even be able to tell you how, that's why I'm here because the person who installed it stopped communicating with me.  Nevermind, I believe I can print the intall notes and just reinstall and start from scratch....although I would still have a problem with CHMOD.
Title: CHMOD
Post by: hyperion on October 22, 2003, 03:03:08 am
Then reinstall from scratch.

Delete the Coppermine directory, and drop the tables from the database.

When the link comes back, people will be willing to help you.
Title: CHMOD
Post by: girlongixxer on October 22, 2003, 03:20:22 am
This is the guy who set my gallery up.  I don't see the link on his either.  
http://www.gigabikes.com/gallery/

Anyway, I'm stuck here now...
http://ruffryderstx.com/RRGallery/install.php
gives me this error...
Could not create a mySQL connection, please check the SQL values entered

MySQL error was : Can't connect to local MySQL server through socket '/tmp/mysql.sock' (46)

What do you suggest next?????
Title: CHMOD
Post by: girlongixxer on October 22, 2003, 03:25:46 am
Ok, I changed some stuff around and this is what I get now...
mySQL Error: Table 'cpg11d_albums' already exists
Title: CHMOD
Post by: girlongixxer on October 22, 2003, 03:32:02 am
http://ruffryderstx.com/RRGallery/index.php

Ok, now this link takes me back to my login page for phpmyadmin.  Can anyone help with this?
Title: CHMOD
Post by: hyperion on October 22, 2003, 04:41:53 am
Quote
mySQL Error: Table 'cpg11d_albums' already exists


Did you use PHPMyAdmin to drop all tables from whatever database Coppermine is using?

Quote
Ok, now this link takes me back to my login page for phpmyadmin. Can anyone help with this?


Are you storing PHPMyAdmin and the CPG files in the same directory? CPG must be in a directory all by itself.
Title: CHMOD
Post by: girlongixxer on October 22, 2003, 04:57:56 am
I'm not too sure.  That is why I thought I made a good decision by letting someone go in and install it for me.  I am totally clueless for this.
Title: CHMOD
Post by: DJMaze on October 22, 2003, 05:28:16 am
I can't even get your page, it doesn't exist.

What FTP app do you use to upload Coppermine ?
Some apps have problems running CHMOD.

Also some servers won't grant you to change chmod settings (Like Windows servers)

If you still have problems then someone has to have access to your FTP directory and try it.

Also if that guy doesn't respond to you anymore, please change your password. You never know what can happen.
Title: CHMOD
Post by: moorey on October 22, 2003, 06:04:53 am
Quote from: "girlongixxer"
I'm not too sure.  That is why I thought I made a good decision by letting someone go in and install it for me.  I am totally clueless for this.


That's actually not a good decision - but also not a bad one per se. It's better if you install it yourself since you'd be using it; the installation process itself is fairly painless. The docs aren't too long too. :wink:
Title: CHMOD
Post by: girlongixxer on October 22, 2003, 12:20:04 pm
I had given the guy a temp name and password that doesn't exist anymore.  

The page doesn't exist because I can't get it to work.  I use WS FTP Pro to upload it.  My site host is yahoo.
Title: CHMOD
Post by: hyperion on October 22, 2003, 07:02:15 pm
Okay, you nee to create a seperate directory, something like ruffryderstx.com/coppermine/

Then you should download the package from the download section of this site.  

Unzip the package and place it in the new directory. CHMOD the directory to 777 to start.

Then check your database and remove any old Coppermine tables.  

Run the install.php file and give it the information it requests.


That should get your installation reinstalled properly.
Title: CHMOD
Post by: girlongixxer on October 23, 2003, 01:31:49 am
Ok, done that and I put in all the correct information.  Now it just takes me to phpmyadmin page.  http://ruffryderstx.com/RRGallery/index.php
Title: CHMOD
Post by: hyperion on October 23, 2003, 01:43:12 am
Who does your hosting?
Title: CHMOD
Post by: girlongixxer on October 23, 2003, 01:44:49 am
Yahoo Small Business
Title: CHMOD
Post by: hyperion on October 23, 2003, 01:49:26 am
Contact them and ask them why your script is being redirected to this login page when it tries to make an SQL query.  PHPMyAdmin does not come with Coppermine, and since you've put it in a separate folder by itself, that leaves some server configuration issue.

Please let us know what they say.
Title: CHMOD
Post by: girlongixxer on October 23, 2003, 01:55:31 am
That is strange that it was working before....although it worked I still couldn't upload pictures.  Oh well....we'll see.
Title: CHMOD
Post by: girlongixxer on October 23, 2003, 02:12:24 pm
Well, Yahoo says that I should be able to run Coppermine from within my site.
Title: CHMOD
Post by: azrael on October 23, 2003, 04:12:03 pm
The link wasnt removed, but is colored in the same color as the
background of the table. The cheap way of removing it it seems.
Title: CHMOD
Post by: girlongixxer on October 27, 2003, 02:09:56 am
Ok, Yahoo says that I should be able to run the Coppermine database within my site.  Does anyone know why my link keeps taking me to my phpmyadmin login page?
Title: CHMOD
Post by: DJMaze on October 27, 2003, 02:38:53 am
Delete all coppermine related files from your host.
Remove the database and start from scratch.

Use your WS FTP Pro to remove files (it can batch remove directories)
Use phpMyAdmin to delete the database tables

Then:
[list=1]