init.inc.php and functions.inc.php errors init.inc.php and functions.inc.php errors
 

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

Main Menu

init.inc.php and functions.inc.php errors

Started by Setax, June 28, 2004, 01:46:55 PM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

Setax

Notice: Undefined index: cookie_name in D:\Inetpub\webs\setaxorg\galery\include\functions.inc.php on line 34

Notice: Undefined index: cookie_name in D:\Inetpub\webs\setaxorg\galery\include\init.inc.php on line 257

Notice: Undefined index: debug_notice in D:\Inetpub\webs\setaxorg\galery\include\init.inc.php on line 314

Warning: main(themes/default/theme.php): failed to open stream: No such file or directory in D:\Inetpub\webs\setaxorg\galery\include\init.inc.php on line 333

Fatal error: main(): Failed opening required 'themes/default/theme.php' (include_path='.;c:\php\includes') in D:\Inetpub\webs\setaxorg\galery\include\init.inc.php on line 333


Im new on this, and i have this errors. About the theme, its strange, all the themes of the packet are up, i think i can do that, but the other errors could someone help me please?

Casper

This is because coppermine has changed the name of the default theme, to 'classic', to avoid confusion between the coppermine theme, and the site default.

First, try deleting your cookies for your site on your browser.  Make sure when you go back to the site you force refresh the page.

If this does not work, type your address in the address bar with this at the end, ..../index.php?theme=classic

If that doesn't work, use your database tool to go to the config table, and change the name for the theme from default, to classic.

You should then be able to go into config and change it as normal.
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

Setax

Many thanx, that its ok now.

But another problem comes :D Now i can´t login like "admin". What´s the direct link for that?

Thanx again...

Casper

None of the changes with the upgrade, or what I put above, will have changed your admin account username or password.

If you cannot login as admin, use your database tool, such as phpMyadmin, and check the name and password in the users table.
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

Setax

Can´t check my username and passwor because i don´t make one. The instalation i do changing config.php and now i need help to write the archive with the admin  user and password. i want to write the admin count, not with the install.php.

Should you ask why, its because on my server doesn´t works CHMOD atribute, they are changing that.

Joachim Müller

urm, this might be a language issue, I didn't fully understand. Please re-phrase. Anyway, you must have created an admin account during install of coppermine, the installer wouldn't have let you continue if you have not done so. If you really think you have no admin user at all, do as Casper suggested, use a tool like phpMyAdmin, browse the table yourCopperminePrefix_users and create a new entry with the user_group set to "1".

GauGau