March 20, 2010, 07:31:14 am *
Welcome, Guest. Please login or register.
Did you miss your activation email?

Login with username, password and session length
News: Private messages disabled
Caused by the massive abuse of the PM system in the past, the sending of personal messages has been disabled for all regular users on the Coppermine forum.
[more]
   Home   Help Search Board rules Login Register  
Pages: [1] 2 3   Go Down
  Print  
Author Topic: gallery problem (init.inc.php) after several bridge attempts  (Read 5824 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
VIP
***
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
VIP
***
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
VIP
***
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
VIP
***
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
VIP
***
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
VIP
***
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
VIP
***
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
VIP
***
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 113 times.)
Logged
Sami
VIP
***
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
  Print  
 
Jump to:  

Powered by SMF 1.1.11 | SMF © 2006-2009, Simple Machines LLC
Page created in 0.07 seconds with 18 queries.