coppermine-gallery.com/forum

Support => cpg1.4.x Support => Older/other versions => cpg1.4 install => Topic started by: kiznev on December 31, 2005, 02:14:05 PM

Title: Fatal Error after install on line 227
Post by: kiznev on December 31, 2005, 02:14:05 PM
Hi there:

I did everything right it seems so far and the only thing I noticed is that after I installed the new version following everything to a "T" I received this message after logging into the admin screen and clicking on "Config" it shows:

Fatal error: Call to undefined function: db_query() in /home/oceansx/public_html/config.php on line 227

Please assist, I am no programmer but know a little of what I am doing.

Go easy!  Please.

Thanks

Kev
Title: Re: Fatal Error after install on line 227
Post by: kegobeer on December 31, 2005, 02:36:19 PM
No, you haven't done everything right.  db_query is a function in 1.3.x, so you aren't using 1.4.x.  Post more information in your next reply - I have no idea what you are attempting to do.  Initial install (I doubt it) or upgrade (probably)?
Title: Re: Fatal Error after install on line 227
Post by: Nibbler on December 31, 2005, 04:55:39 PM
Looks like you are trying to use a 1.3 theme in 1.4. You need to update it following the instructions in the docs. Any 1.4 themes do not point to config.php, as it is named admin.php in 1.4.