Support Forum Project Downloads FAQ Documentation About Demo Tutorials Blog Plugins
November 07, 2009, 04:14:33 pm *
Welcome, Guest. Please login or register.
Did you miss your activation email?

Login with username, password and session length
News: Maintenance release cpg1.4.25 - upgrade recommended
The Coppermine development team is releasing an update for Coppermine in order to fix an issue with http uploads that could occur in particular versions of PHP.The fix is not security-critical, so if your gallery is running fine with cpg1.4.23 or cpg1.4.24 you don't need to upgrade. If you are running an older version than cpg1.4.23, you must update to this latest version as soon as possible because of the security impact (the past few maintenance releases before cpg1.4.24 all were security-related).
[more]
   Home   Help Search Board rules Login Register  
Pages: [1] 2 3   Go Down
  Send this topic  |  Print  
Author Topic: gallery problem (init.inc.php) after several bridge attempts  (Read 5407 times)
0 Members and 1 Guest are viewing this topic.
fets Topic starter
Coppermine novice
*
Posts: 29


« on: November 19, 2006, 12:14:00 pm »

Hello,

i didn't post this topic into bridge/integration section, because i won't issue with bridging in my topic.

I just wanted to bridge e107 with cpg1.4.4. I didn't manage it and finally i got error to all gallery pages: BRIDGE ERROR: Can't find e107_config.php.

I backed up immediately gallery database and 'albums' folder.

Now i am overwriting some files of cpg1.4.4 so i can get it work.

Everyting works fine but i have a login problem. I click Login, database recognizes me, says: Welcome Webmaster but then nothing happens. i can't see the special admin buttons, is like i never logged in.

Url: http://www.stathrania.com/gallery

Q: If i delete the Coppermine and re-install it (cpg1.4.4) and then upload 'album' directory will photos remain in their current albums?

Anyhow please give me as many solutions as you can, because even if i restore the backed up database, it might be corrupted so i ll lost all photos  Sad

Regards
Logged
Sami
Dev Team member
****
Gender: Male
Iran, Islamic Republic of Iran, Islamic Republic of

Posts: 3689


BMossavari


WWW
« Reply #1 on: November 19, 2006, 12:37:52 pm »

- First you need to upgrade , recent version is 1.4.10
- Check your bridge table and see if you have any data on value culomn
Logged

‍I don't answer to PM with support question
Please post your issue to related board
fets Topic starter
Coppermine novice
*
Posts: 29


« Reply #2 on: November 19, 2006, 12:44:49 pm »

- First you need to upgrade , recent version is 1.4.10
- Check your bridge table and see if you have any data on value culomn


I do have data...

Logged
Sami
Dev Team member
****
Gender: Male
Iran, Islamic Republic of Iran, Islamic Republic of

Posts: 3689


BMossavari


WWW
« Reply #3 on: November 19, 2006, 01:12:55 pm »

check the xxx_config table and look for value of bridge_enable it should be 0
Logged

‍I don't answer to PM with support question
Please post your issue to related board
fets Topic starter
Coppermine novice
*
Posts: 29


« Reply #4 on: November 19, 2006, 01:24:43 pm »

Its set on 1.

So, shall i change it, save the database, restore it and everything will work as before ?
Logged
Sami
Dev Team member
****
Gender: Male
Iran, Islamic Republic of Iran, Islamic Republic of

Posts: 3689


BMossavari


WWW
« Reply #5 on: November 19, 2006, 01:31:54 pm »

just change it and see if it's working...
Logged

‍I don't answer to PM with support question
Please post your issue to related board
fets Topic starter
Coppermine novice
*
Posts: 29


« Reply #6 on: November 19, 2006, 01:46:59 pm »

CREATE TABLE `cpg143_bridge` (
`name` varchar( 40 ) NOT NULL default '0',
`value` varchar( 255 ) NOT NULL default '',
UNIQUE KEY `name` ( `name` )
) ENGINE = MYISAM DEFAULT CHARSET = latin1;


#1050 - Table 'cpg143_bridge' already exists


What shall i do ? Undecided
Logged
Sami
Dev Team member
****
Gender: Male
Iran, Islamic Republic of Iran, Islamic Republic of

Posts: 3689


BMossavari


WWW
« Reply #7 on: November 19, 2006, 01:55:15 pm »

run this:
Code:
UPDATE `cpg143_config` SET `value` = 0 WHERE `name` = 'bridge_enable';
Logged

‍I don't answer to PM with support question
Please post your issue to related board
fets Topic starter
Coppermine novice
*
Posts: 29


« Reply #8 on: November 19, 2006, 01:59:44 pm »

Επηρρεαζόμενες εγγραφές: 0 (Το επερώτημα χρειάστηκε 0.0581 δευτ/τα)

Translation: Affected values: 0 (Query execution time 0.0581 seconds)
Logged
Sami
Dev Team member
****
Gender: Male
Iran, Islamic Republic of Iran, Islamic Republic of

Posts: 3689


BMossavari


WWW
« Reply #9 on: November 19, 2006, 02:20:32 pm »

- Check the xxx_config table , bridge_enable should be 0
- Clear your cookie
- Try login as an admin
Logged

‍I don't answer to PM with support question
Please post your issue to related board
fets Topic starter
Coppermine novice
*
Posts: 29


« Reply #10 on: November 19, 2006, 02:35:15 pm »

Now the whole gallery is blank. None link is working :|
Logged
Sami
Dev Team member
****
Gender: Male
Iran, Islamic Republic of Iran, Islamic Republic of

Posts: 3689


BMossavari


WWW
« Reply #11 on: November 19, 2006, 02:40:23 pm »

Shocked
What did you do !?
Logged

‍I don't answer to PM with support question
Please post your issue to related board
fets Topic starter
Coppermine novice
*
Posts: 29


« Reply #12 on: November 19, 2006, 02:42:10 pm »

cleared cookies and hit refresh  Embarrassed
Logged
fets Topic starter
Coppermine novice
*
Posts: 29


« Reply #13 on: November 19, 2006, 02:43:53 pm »

Ahhh,

by mistake, i changed 'value' type into FULLTEXT  Cry

How can undo / change that?:|
Logged
Sami
Dev Team member
****
Gender: Male
Iran, Islamic Republic of Iran, Islamic Republic of

Posts: 3689


BMossavari


WWW
« Reply #14 on: November 19, 2006, 02:45:22 pm »

Smiley
Use phpmyadmin and change it back to VARCHAR(255)
Logged

‍I don't answer to PM with support question
Please post your issue to related board
fets Topic starter
Coppermine novice
*
Posts: 29


« Reply #15 on: November 19, 2006, 02:48:58 pm »

ALTER TABLE `cpg143_config` DROP INDEX `value` ,
ADD FULLTEXT `value` (
`value`
)

is that correct ? Huh
Logged
Sami
Dev Team member
****
Gender: Male
Iran, Islamic Republic of Iran, Islamic Republic of

Posts: 3689


BMossavari


WWW
« Reply #16 on: November 19, 2006, 02:57:19 pm »

Code:
ALTER TABLE `cpg143_config` MODIFY COLUMN `value` VARCHAR(255) NOT NULL DEFAULT '0';
Logged

‍I don't answer to PM with support question
Please post your issue to related board
fets Topic starter
Coppermine novice
*
Posts: 29


« Reply #17 on: November 19, 2006, 02:59:04 pm »

done, succesfull but gallery still blank :|
Logged
fets Topic starter
Coppermine novice
*
Posts: 29


« Reply #18 on: November 19, 2006, 03:03:54 pm »

Check out the attachment. Its a print screen of phpMyAdmin.


* phpmyadmin_prntscreen.JPG (188.76 KB, 1280x800 - viewed 97 times.)
Logged
Sami
Dev Team member
****
Gender: Male
Iran, Islamic Republic of Iran, Islamic Republic of

Posts: 3689


BMossavari


WWW
« Reply #19 on: November 19, 2006, 03:07:38 pm »

I see you've created fulltext index on your value , just delete it by click on X next to it ...
Do not change anything else please
Logged

‍I don't answer to PM with support question
Please post your issue to related board
Pages: [1] 2 3   Go Up
  Send this topic  |  Print  
 
Jump to:  

Powered by MySQL Powered by PHP Powered by SMF 1.1.10 | SMF © 2006-2009, Simple Machines LLC Valid XHTML 1.0! Valid CSS!
Page created in 0.041 seconds with 19 queries.