Support Forum Project Downloads FAQ Documentation About Demo Tutorials Blog
January 07, 2009, 05:01:50 AM *
Welcome, Guest. Please login or register.
Did you miss your activation email?

Login with username, password and session length
News: Mark your threads as "solved"
There is a new feature on the support boards that allows thread starters to mark their threads as solved for the benefit of others with similar issues.
[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 3855 times)
0 Members and 1 Guest are viewing this topic.
fets Topic starter
Coppermine novice
*
Posts: 29


« on: November 19, 2006, 01: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
Coppermine addict
****
Gender: Male
Iran, Islamic Republic of Iran, Islamic Republic of

Posts: 3661


BMossavari


WWW
« Reply #1 on: November 19, 2006, 01: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

Please do not PM for support unless I ask for it
fets Topic starter
Coppermine novice
*
Posts: 29


« Reply #2 on: November 19, 2006, 01: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
Coppermine addict
****
Gender: Male
Iran, Islamic Republic of Iran, Islamic Republic of

Posts: 3661


BMossavari


WWW
« Reply #3 on: November 19, 2006, 02:12:55 PM »

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

Please do not PM for support unless I ask for it
fets Topic starter
Coppermine novice
*
Posts: 29


« Reply #4 on: November 19, 2006, 02: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
Coppermine addict
****
Gender: Male
Iran, Islamic Republic of Iran, Islamic Republic of

Posts: 3661


BMossavari


WWW
« Reply #5 on: November 19, 2006, 02:31:54 PM »

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

Please do not PM for support unless I ask for it
fets Topic starter
Coppermine novice
*
Posts: 29


« Reply #6 on: November 19, 2006, 02: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
Coppermine addict
****
Gender: Male
Iran, Islamic Republic of Iran, Islamic Republic of

Posts: 3661


BMossavari


WWW
« Reply #7 on: November 19, 2006, 02:55:15 PM »

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

Please do not PM for support unless I ask for it
fets Topic starter
Coppermine novice
*
Posts: 29


« Reply #8 on: November 19, 2006, 02:59:44 PM »

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

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

Posts: 3661


BMossavari


WWW
« Reply #9 on: November 19, 2006, 03:20:32 PM »

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

Please do not PM for support unless I ask for it
fets Topic starter
Coppermine novice
*
Posts: 29


« Reply #10 on: November 19, 2006, 03:35:15 PM »

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

Posts: 3661


BMossavari


WWW
« Reply #11 on: November 19, 2006, 03:40:23 PM »

Shocked
What did you do !?
Logged

Please do not PM for support unless I ask for it
fets Topic starter
Coppermine novice
*
Posts: 29


« Reply #12 on: November 19, 2006, 03:42:10 PM »

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


« Reply #13 on: November 19, 2006, 03:43:53 PM »

Ahhh,

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

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

Posts: 3661


BMossavari


WWW
« Reply #14 on: November 19, 2006, 03:45:22 PM »

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

Please do not PM for support unless I ask for it
fets Topic starter
Coppermine novice
*
Posts: 29


« Reply #15 on: November 19, 2006, 03:48:58 PM »

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

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

Posts: 3661


BMossavari


WWW
« Reply #16 on: November 19, 2006, 03:57:19 PM »

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

Please do not PM for support unless I ask for it
fets Topic starter
Coppermine novice
*
Posts: 29


« Reply #17 on: November 19, 2006, 03:59:04 PM »

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


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

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


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

Posts: 3661


BMossavari


WWW
« Reply #19 on: November 19, 2006, 04: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

Please do not PM for support unless I ask for it
Pages: [1] 2 3   Go Up
  Send this topic  |  Print  
 
Jump to:  

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