coppermine-gallery.com/forum

Support => cpg1.4.x Support => Older/other versions => cpg1.4 install => Topic started by: Syree on January 24, 2006, 12:06:23 PM

Title: Fatal error after install 1.4.3
Post by: Syree on January 24, 2006, 12:06:23 PM
Hello everyone,

After succesfully installing the stable 1.4.3 version on my own site, i'm trying to do the same for another site. Only now the install doesn't seem to work. This is i believe a fresh install (i've had coppermine installed before, but removed everything completely) and installed it again. Now when i click the continue button on the install.php screen, i get "fatal error: " and then blank, its telling me nothing lol.
Anyone have any idea what i'm doing wrong? I 've set all the permissions and read the documentation, but i can't seem to solve this one. Here's an example:

http://www.kringloopcentrumzeist.nl/coppermine/login.php

Title: Re: Fatal error after install 1.4.3
Post by: Abbas Ali on January 24, 2006, 01:09:33 PM
You will need to enable the debug mode to see the error. You will have to do this manually by changing the value in database.

Open phpmyadmin or the database tool which is provided to you by your webhost. In cpg143_config table change the value of "debug_mode" to "1".

Do the above mentioned change only if you know your way around.
Title: Re: Fatal error after install 1.4.3
Post by: Syree on January 24, 2006, 01:20:08 PM
aiaiaiai...thats the problem i dont' know my way around enough for that LOL. I guess i can try cause its a totally new installation, if i mess up nothing is really lost yet. So i'm lookin for a config table ...i'm going to try! tnx for the reply
Title: Re: Fatal error after install 1.4.3
Post by: Syree on January 24, 2006, 01:23:45 PM
ok wow LOL...i think i need some more help, i obviously don't know what i'm doing. So far, i didn't touched anything yet. I think i found what you mean, and i'm seeing this in front of me:

table  type  possible_keys  key  key_len  ref  rows  Extra 
cpg143_config ALL NULL NULL NULL NULL 130 Using temporary

Where can i find this debug mode?
Title: Re: Fatal error after install 1.4.3
Post by: Syree on January 24, 2006, 01:27:02 PM
Don't ask me how, but i managed to change this debug mode to value 1. It was at 0 the first time. After i made this change, i get the following error when trying to visit my coppermine page:

While executing query "delete from `kringloopcentrumzeist_nl `.cpg143_sessions where time<1138101951 and remember=0;" on Resource id #5

mySQL error: delete command denied to user: 'kcz@localhost' for table 'cpg143_sessions'

I have no idea what this means??

*modified*: I'm looking in my admin tool inside the cpg143_sessions table, user_id, but i have no idea if and what i need to change over there. I'm doing my best but i'm too afraid to touch anything right now
Title: Re: Fatal error after install 1.4.3
Post by: Abbas Ali on January 24, 2006, 01:36:00 PM
There you are.... the last line of the error shows it all.

You don't have DELETE permission on the database. Make sure that the database user have DELETE permission on cpg database. Ask your webhost to grant the permission.
Title: Re: Fatal error after install 1.4.3
Post by: Syree on January 24, 2006, 01:38:27 PM
oooh sorry we posted at the same time. So i need my host for that? Thats great, it means i don't have to do anything complicated LOL!! Thanks for the help!
Title: Re: Fatal error after install 1.4.3
Post by: Syree on January 24, 2006, 01:42:52 PM
on the phone with my host right now, he says every user has delete permissions and he is trying to see the problem ???

PROBLEM FOUND!!! it wasn't the delete permissions, i accidentally had a space included in my database name...pfffffff how stupid!! Thanks for the help again ;) Next time i'll check for extra spaces LOL
Title: Re: Fatal error after install 1.4.3
Post by: Abbas Ali on January 24, 2006, 04:45:08 PM
Marking the thread as Solved.