Forum

MamboHacks.com => Mambo-SMF Integration 1.2.0 Support => Topic started by: Wolfgang Bornath on April 25, 2005, 10:26:55 AM



Title: copy(/smf/index~)
Post by: Wolfgang Bornath on April 25, 2005, 10:26:55 AM
Installed Mambo, SMF and converted a 2,000 user's database with more than 70,000 postings from phpBB to SMF. Now I'd like to integrate that into Mambo and I installed the proper component and module. In the package manager while installing SMFMamboMod_1.2.zip everything went well in the first step ("successful" messages in all lines). But in the second page it gives:
Code:
2: copy(/var/www/html/smf/index.php~): failed to open stream: Permission denied

I looked and there's no 'index.php~' only the normal 'index.php'. All recommended permissions are set - otherwise I wouldn't have the "successful" messages in the first page of the installation. It would be helpful to know what this copy command wants to copy whereto.

I put this line in the search box but did not find any helpful result. Although this may be a result of my lack of PHP knowledge. :(

Edited: I ssh'd into onto the server to look, but can't find any 'index.php~'. I'm lost and the deadline to open the new site is getting close....    .(

wobo


Title: Re: copy(/smf/index~)
Post by: Wolfgang Bornath on April 25, 2005, 12:32:11 PM
Found a solution: /smf/ has to be 0777! This looks not very secure!

Now the installation of the package went successfully - according to the screen! Also the component installation in Mambo (which I did before).

I installed the menu item "Forum" and it points to /index.php?option=com_smf&Itemid=62 which is correct but all I see is a blank page! Same happens, when I go into Mambo administration and klick on Components - SMF Mambo Integration - configure. I get to a page with the address /administrator/index2.php?option=com_smf&task=config but it's empty, blank.

I really am lost now. The forum SMF works, when I go to /smf/. The installation of the component did not show any error, neither did the login module (although I just get a "Go to SMF to configur" instead of a login!). The SMFIntegration runs without error.

But still I have only blank pages, whereever I go from Mambo.

wobo


Title: Re: copy(/smf/index~)
Post by: Wolfgang Bornath on April 25, 2005, 06:49:36 PM
After some hours searching and de-installing and re-installing I don't know how to get this one running.
What I found so far:
1. Everything installs smoothly, no error messages.
2. All permissions are set as needed. Otherwise 1. would not have worked.
3. The admin menue item 'Component -  Mambo SMS Integration - Configure" points to the right path and the needed files are there.

Results:
1. The login module (I want it to be in the left sidebar of Mambo) does not show any login fields but asks to configure something in SMF. It also prevents other modules which should show below it to show up.
2. The admin utility to configure (see point 3. above) shows a blank page.
3. The "Forum" link to SMF shows a blank page although it leads to the correct component.

I can't find any error or missing file or misplaced file, etc.

wobo


Title: Re: copy(/smf/index~)
Post by: cowboy on April 26, 2005, 02:49:01 AM
I'm sorry that you have to answer your own posts. Been busy with 1.3.0. Beta1 is now out.


Title: Re: copy(/smf/index~)
Post by: Wolfgang Bornath on April 26, 2005, 05:13:00 AM
I could not really answer my posts, just stress once more that I am really lost here and that I have no idea how to solce this. :(

wobo


Title: Re: copy(/smf/index~)
Post by: cowboy on April 26, 2005, 09:31:09 AM
Well, try 1.3 beta1. I can help you from there.


Title: Re: copy(/smf/index~)
Post by: Wolfgang Bornath on April 26, 2005, 11:24:11 AM
Quote from: admin on April 26, 2005, 09:31:09 AM
Well, try 1.3 beta1. I can help you from there.

Wow! This was it! The 1.2b1 installed smoothly and I saw the configuration page in Mambo-Admin for the first time! Good work!

2 things, though:
User synchronisation does not work.
1. I checked the option "Existing SMF With User Data?:" because I have a 2,00 user base in SMF.
2. All other things are in green and state "success" or "done". Except the "Synchronize Mambo and SMF users." When I click this I get logged out of the admin page and a new login is shown. When I login again as admin and go to the SMF Integration config I see that the link to integrate the users in Mambo is still open (not done).

New user registration in DMF does not work.
When I am not logged in (aka as guest) and I click on "Register" in SMF I get thrown out to Mambo and the page tells me that I am not permitted to see the page I wanted to go to. I should login to register! A Catch 22!

wobo


Title: Re: copy(/smf/index~)
Post by: cowboy on April 26, 2005, 11:28:32 AM
Please tell me your Mambo and SMF version.


Title: Re: copy(/smf/index~)
Post by: Wolfgang Bornath on April 26, 2005, 01:07:26 PM
Mambo 4.5.1b
SMF 1.0.3

wobo


Title: Re: copy(/smf/index~)
Post by: Wolfgang Bornath on April 27, 2005, 05:19:29 AM
Some more information:

In the SMF user database I have 2,000 users. In Mambo SMF Integration configuration I click on "click to synch" for the user data (all other items are marked as "installed" or "done".
As I said, I get thrown out and I have to log in as admin in the Mambo admin page.

After that I checked the user table in phpMyAdmin and there were now 262 users.
Back in Mambo admin I checked the user management and there are just the 2 listed which I registered before in Mambo (admin and 1 user). But the line underneath the userlist lists many pages and says: "1-10 of 262" !
When I click on other page numbers there are no users listed but the line underneath says "11-20" (in page 2) or "261-262 of 262" on the last page.

I guess there's something wrong with registration in Mambo?

Edit: No, Mambo registration is fixed and I can now register new users. Thanks to a similar thread about user registration in the 1.3 Bugs section.
I'm taking the other problem to the 1.3.0 Bugs section now.

wobo


Forum | Powered by SMF 1.0.5 & Mambo-SMF.
© 2001-2005, Lewis Media. All Rights Reserved.