Cant get to admin after upgrading Cant get to admin after upgrading
 

News:

cpg1.5.48 Security release - upgrade mandatory!
The Coppermine development team is releasing a security update for Coppermine in order to counter a recently discovered vulnerability. It is important that all users who run version cpg1.5.46 or older update to this latest version as soon as possible.
[more]

Main Menu

Cant get to admin after upgrading

Started by sc204, February 14, 2011, 04:15:58 AM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

sc204

Upgraded 1.4x to 1.5.12 by uploading files as instucted in upgrade info.  Initially received a fatal error.  Ran the update.php and it seemed to work fine.  running a second time shows everything done. 
Problem is I cannot login.  I was able to login to run the update script though.  My site is Joomla 1.5 and CPG was bridged to SMF version 1.1.13. 
Site is http://nsrca.net/cpg/

Thank you,
Stuart


sc204

Great that has almost got me there but I get a fatal error at the final step which is due to a path issue.  This install of CPG was transferred from a different server.  I thought I found all of the improper path statements but not this one
Fatal error: Cannot redeclare class cpg_udb in /var/www/web109/cpg/bridge/smf10.inc.php on line 45
Whers is cpg looking for this path so I can change it.  we no longer have the www before the web109

Thank you.

Αndré

Just delete that file for a quick test.

sc204

If I delete that file (smf10.inc.php) Then I no longer have SMF 1.X as an option in the bridge manager.
My question is do you know where the program is pulling that path to look for is?
Thanks again

Αndré


sc204

without that file I get the following error
Fatal error: require_once(): Failed opening required 'bridge/smf10.inc.php' (include_path='.:/usr/share/php:/usr/share/pear') in /var/www/web109/cpg/include/init.inc.php on line 243

Αndré

Seems that bridging is still enabled on your gallery. Have a look at the config table in Coppermine's database. Find the row bridge_enable and set it to '0'.

The quick & dirty hack would be to open include/init.inc.php, find
require_once 'bridge/' . UDB_INTEGRATION . '.inc.php';
and replace with
require_once 'bridge/coppermine.inc.php';

sc204

I will try that, changing bridge enable to 0 does remove bridging.
Are you able to tell me from the error what file is looking for the path of var/www/web109......  That is the error and if I can fix that path I think the issues will be solved without modifying any other files.
Thank you,
Stuart

Αndré

Either you failed to describe what your problem is, or you mix up things in this thread. It seems that we speak two different languages, so I just try to answer the question you asked several times:

Quote from: sc204 on February 14, 2011, 02:50:59 PM
Fatal error: Cannot redeclare class cpg_udb in /var/www/web109/cpg/bridge/smf10.inc.php on line 45
Whers is cpg looking for this path
Quote from: sc204 on February 14, 2011, 05:18:27 PM
do you know where the program is pulling that path to look for is?
Quote from: sc204 on February 15, 2011, 02:19:45 PM
Are you able to tell me from the error what file is looking for the path of var/www/web109......
->
Quote from: sc204 on February 14, 2011, 07:31:17 PM
cpg/include/init.inc.php on line 243

sc204

define('UDB_INTEGRATION', $BRIDGE['short_name']);

require_once 'bridge/' . UDB_INTEGRATION . '.inc.php';

// Start output buffering

The center line is 243  Unfortunatly it doesn't help tell me where the path is being called from. 
There were 2 issues first was getting into the admin area of the program after upgrading.  You helped me with that .  Next when trying to rebridge the applications I am getting the error with the wrong path in it.  Bridging sill seems to have worked.  The path error is because we have switched servers.  The old one used to have the www before web109 in the path the new one does not.  I would just like to know where to change the path statement so it is looking in the right place.  If I can do that I should not get the fatal error statement.
Thank you for your help.
Stuart

Αndré

Quote from: sc204 on February 15, 2011, 06:05:05 PM
The path error is because we have switched servers.
Actually there is no path error, that's why I told you to check different things. If you don't believe me I cannot help you.

If you really need support give us more detailed information what you already have done and what you try to accomplish. You said that you cannot login. So I told you to disable bridging. I don't know if you're able to login or not, as you're always talking about some path stuff during the bridging process. As you started your thread in the upgrade board all we should do here is to unbridge your gallery. If you're able to login at your standalone gallery this thread should be closed and we should have a look at other issues at a separate thread in the correct board.