News:

Want to get involved in developing SMF? Why not lend a hand on our GitHub!

Main Menu

Help needed, bridge is not working anymore...

Started by Vortexvan, February 14, 2006, 07:13:55 AM

Previous topic - Next topic

Vortexvan

Hi together,

i upgraded from mambo 4.5.2 to joomla 1.0.7 .. so far no problem.
(the bridge and the forum working).
after i upgraded the forum to 1.0.6 the bridge stopped working.
i uninstalled the bridge and installed 3.19 a but still no luck
every time i try to log in i'm dropped to the forum but cann't login.

If i call the forum directly via www.xyz.de/smf.... i can login ....

I followed the step by step installation guide by the book, also edited the
index.php file from my template like mentioned in step 4....

But i don't know where the problem is....

I do have my domain linked as a subdomain at my provider...

www.xyz.de  points to a subfolder from my masterdomain www.zyx.de

so i assume it's a path problem somewhere in the config files... but i can't narrow it
down.

The configuration in the SMF Components seems to be OK.

The only strange thing i remember is that the Prefix for the SMF database disapear as
soon as i hit the save button...


Regards

Vor

Kindred

in 3.19a, there is no longer an option for the smf prefix...   you are not using 3.19a.
Слaва
Украинi

Please do not PM, IM or Email me with support questions.  You will get better and faster responses in the support boards.  Thank you.

"Loki is not evil, although he is certainly not a force for good. Loki is... complicated."

Vortexvan

Mh...
Ok i downloaded this file

http://www.simplemachines.org/community/index.php?action=dlattach;topic=25718.0;attach=13533

after that i uninstalled the old bridge...

a.) from the smf forum packetmanager
b.) joomla

after that i installed it with the step by step guide again,
first in smf then joomla etc..

but i'm not sure.. i even manually deleted all files in the component folder
and also administrator/component folder.... (... the smf related folder..)

in the component overview i'l find version nr. 3.19 should it be 3.19a ?

Ok... i try again ...

Since i had to move the files and directory during the update from mambo
to joomla. All files lost their original "owner" so at this point i have to use
the Joomla uninstaller to remove the entries in the db. After that i have to
manually erase the files in the joomla structure.

Maybe i missed one...

Regards

Vor


Kindred

ummm...

why did you have to move files and directories?
(when I upgraded, I just overwrote mambo with Joomla...)

anyway...

Delete the menu item pointing to com_smf
remove the component com_smf
remove the component com_smf_registration
remove the module mod_smf_login
Delete the directory and all contents: components/com_smf
Delete the directory and all contents: components/com_smf_registration
Delete the directory and all contents: administrator/components/com_smf
Delete the directory and all contents: administrator/components/com_smf_registration
Delete the file: modules/mod_smf_login.xml
Delete the file: modules/mod_smf_login.php

remove the SMF package...   confirm removal by checking index.php, Sources/MOS_SMF.php and Sources/Subs.php

reapply the bridge, step by step

Слaва
Украинi

Please do not PM, IM or Email me with support questions.  You will get better and faster responses in the support boards.  Thank you.

"Loki is not evil, although he is certainly not a force for good. Loki is... complicated."

Vortexvan

Ok, everything is deleted in joomla....

also in smf...

but i can't install the mos package in smf....

2: copy(/is/htdocs/xyz/www.cimad.de/udoweb/smf/Sources/Subs.php~): failed to open stream: Permission denied
Datei: /is/htdocs/xyz/www.cimad.de/udoweb/smf/Sources/Subs-Package.php
Zeile: 1307

which files needs permission??

Regards
vor


Kindred

index.php and sources/subs.php

but, I think that error is in the sources DIRECTORY!  it can not copy the subs.php into subs.php~
Слaва
Украинi

Please do not PM, IM or Email me with support questions.  You will get better and faster responses in the support boards.  Thank you.

"Loki is not evil, although he is certainly not a force for good. Loki is... complicated."

Vortexvan

Ok i chmod all subs* files to 777 and also the directory... still the same error.
index is also 777 ...

puhh any suggestion  ???


Vortexvan

Somebody has the same Problem as i... or better made the same mistake...

anyway no answer to his post....

http://www.simplemachines.org/community/index.php?topic=38190.0

Vortexvan

found something here:

http://www.simplemachines.org/community/index.php?topic=35529.0

i disabled the backupfunction in the packetmanager installation.

now i'm getting this error...

2: fopen(/is/htdocs/xyz/www.cimad.de/udoweb/smf/Packages/installed.list): failed to open stream: Permission denied
Datei: /is/htdocs/xyz/www.cimad.de/udoweb/smf/Sources/Subs-Package.php
Zeile: 1476

Vortexvan

Its all because of permission problems...
not only chmod but also the "owner" of some files ....
if a installation runs through a installion file on the server the
owner of the files is "nobody" 

During the update from mambo to joomla i downloaded all files from my
site and uploaded them again...
The permission of the files don't changed but the owner changed from
nobody to my ftpuser...

Kindred

vortex...

However, if the file is 777, then it does not matter WHO the owner is!

next point...   your packages directory and the files in it must also be 777.
Слaва
Украинi

Please do not PM, IM or Email me with support questions.  You will get better and faster responses in the support boards.  Thank you.

"Loki is not evil, although he is certainly not a force for good. Loki is... complicated."

Vortexvan

Yepp big THX!!!

that's the solution for me...
just in time... lol i was planing to do a clean install...
made backups allready...

Again thanks for your help!

Vor

Vortexvan

Mh.. strange Problem....

the Bridge is not working ...
I now integrated coppermine in SMF via the internal Bridge in Coppermine...

But if i log in from the Joomla Page vie SMF Module Log in, i'm only logged in
to smf and coppermine but not joomla itself...

i made the changes to the index.php like mentioned in step 4 ...

Regards

Vor

Orstio

QuoteIn MOS_SMF.php, we need to end the old Joomla session.  Because the name of the session cookie changed in Joomla, we need to change the code a bit:

Find (for login and logout functions...):



setcookie ("sessioncookie","",-3600, "/" );

Replace with:



    $sessionCookieName = md5( 'site'.$GLOBALS['mosConfig_live_site'] );
setcookie ($sessionCookieName,"",-3600, "/" );



Vortexvan

#14
i changed it, the code is in line 323 in the MOS_SMF.php
but it doesn't help with my problem..
Is there somehow a debug mode?
I searched to the error Protokoll of my Provider but there
is nothing usefull.


In line 96 there is the following code:

$sessioncookie = mosGetParam( $_COOKIE, 'sessioncookie', '' );

do i have to edit it to??



Kindred

does that line of code look anything like the ones we asked you to modify?

(in other words, no)
Слaва
Украинi

Please do not PM, IM or Email me with support questions.  You will get better and faster responses in the support boards.  Thank you.

"Loki is not evil, although he is certainly not a force for good. Loki is... complicated."

Vortexvan

No.... thats the reason why i ask...

anyway still no luck, any more suggestions??


Orstio


Vortexvan

#18
Yes thx...  i also found it in line 370 and replaced it accordingly...

but still no luck.. since i run into problems after the upgrade i decided to
do a "clean" install so i made a backup of the smf_ tables and deleted them
and also the smf folder (first i uninstalled all components and the module in
joomla) i made the new installation and restored the database tables with the dump.
After that i installed the bridge via packetmanager again...
etc etc... 

So after all i'm again where i started...

the module in joomla is working, i registered a new user (Willi) sucessfully
.. the user was created in joomla and also in SMF Usertables.

But still i can't login to joomla... only via the joomla login....

Really don't know what else to do...



Orstio


Advertisement: