Joomla Forum

Joomla Hacks => Joomla-SMF 2.0.x => Topic started by: Jim on June 25, 2008, 02:27:50 PM



Title: Installed but say incoorect prefix?
Post by: Jim on June 25, 2008, 02:27:50 PM
I installed Jommla-SMF 2.0.2 onto 1.1.5 and it's not allowing logins? I get this in the install tab of the acp.


SMF Table Prefix:     
(incorrect prefix)
not installed    SMF Forum installed on the same database as Joomla.

Not working? I might have installed the db separate but on the same server. Any way to fix this or do I need to uninstall and then reinstall smf?

Can anyone please help me with this?


Title: Re: Installed but say incoorect prefix?
Post by: locutus on June 26, 2008, 11:58:36 AM
Joomla and SMF need to be in the same db to get JSMF working. You don't have to reinstall. Backup via phpadmin one db and restore it in the other db (don't overwrite existing tables!) Next you have to adapt configuration.php or settings.php according the new situation.


Title: Re: Installed but say incoorect prefix?
Post by: Jim on June 26, 2008, 04:06:33 PM
Next you have to adapt configuration.php or settings.php according the new situation.

Thanks for the reply. I did that last night and it worked as far as paths and such. How do I adapt the php files to get it up and running. The install placed a forum link in the menu but it sends me to a blank page?


Title: Re: Installed but say incoorect prefix?
Post by: Jim on June 26, 2008, 05:07:19 PM
Just found another issue.
When I click on the
Quote
click to patch Patch Joomla Source Files.
I get this
Quote
Failed: Code to be patched not found in file: require_once( 'includes/frontend.php' );D:\hshome\XXXXXXXX\1925theband.com\forums/index.php
When I click on the
Quote
click to patch      Patch SMF Source Files (Note: Unpatch before upgrading SMF or installing mod.)

I comes back with success.

Here's the url when I click the "Forum" link in the menu that takes me to a blank page:
Quote
http://www.1925theband.com/forums/index.php?option=com_smf&Itemid=53

I would really like to get this working. I like smf but I'm leaning towards replacing it with phpbb3 and jfusion.

If anyone of you experts could help out by looking at the acp's I would really appreciate it.

Thanks!

Not sure whats wrong at this point.
Any change someone could take a look at the acp's?


Title: Re: Installed but say incoorect prefix?
Post by: locutus on June 27, 2008, 02:10:58 AM
Before we go any futher, may I ask which version of Joomla do you use?


Title: Re: Installed but say incoorect prefix?
Post by: Jim on June 27, 2008, 02:40:08 PM
Before we go any futher, may I ask which version of Joomla do you use?

Thanks for the reply. I'm running 1.5.3.

Please let me know.....


Title: Re: Installed but say incoorect prefix?
Post by: Jim on June 27, 2008, 03:43:59 PM
Ok, more reading and more tests and still a blank page :(

Here's a test:
Quote
6) Blank screen?  That is a clear sign of a php fatal error either do to configuration or memory allocation.  Turn your joomla error reporting in joomla global configuration->server tab to maximum.  If you do not see the error being displayed on the page after doing so you will need to check your php error_log.  The php error_log location is defined in your php.ini and will be different on just about every host.  To find its location check either with your webhost or read about it on www.php.net.  If you are unable in any way to get the error_log you can enable it at runtime by adding the following code to your joomla index.php file at the top:
Code:

ini_set('log_errors', 1);
ini_set('error_log', 'error_log');

This will write a file in your joomla root with any error messages that occur.

Here's what came back in the error log:
Quote
[27-Jun-2008 14:13:46] PHP Fatal error:  Unknown(): The script tried to execute a method or access a property of an incomplete object. Please ensure that the class definition jsmffrontend of the object you are trying to operate on was loaded _before_ the session was started in D:\hshome\XXXXXXXX\1925theband.com\forums\components\com_smf\smf.php on line 106

Here is line 106:
Quote
//load the parameters (shouldn't we have them from the load in index.php?)
$jsmfConfig = $jsmf->loadParams);
At this point I'm willing to try anything. I don't want to move to phpbb3 but this isn't looking to promising at this point.

Please help......


Title: Re: Installed but say incoorect prefix?
Post by: Superdaantje on June 28, 2008, 03:38:51 AM
Thanks for the reply. I'm running 1.5.3.

Please let me know.....

Please read to forums.... The Bridge will not work with J! 1.5.*. Sorry and there is not comming an bridge for J! 1.5.*


Title: Re: Installed but say incoorect prefix?
Post by: Jim on June 28, 2008, 02:26:49 PM
Thanks for the reply though there's no doubt that someone has figured out a fix to work with 1.5. It's hard to believe that with so many SMF users out there that there's bound to be a coder that can complete what seems to be a very close working mod.

I'm not going to dump Joomla and I really want to keep SMF. I built and run 2 working sites, one phpbb2 and the other is vBulletin. Both are modded up the wazzoo by only myself and no one else. I can tweak and modify code until I'm blue in the face but I can't even come close to this one.

The site 1925theband.com is a gift to my son Cameron who plays guitar. He's a good kid with real talent and saw my old Joomla/SMF board I modded before a distraught administrator hacked his way back in after being banned for abuse and destroyed it leaving us looking for a new solution. Because I built but didn't own that board, my friend decided to go with vBulletin but my boy really liked both Joomla and SMF so this is why I'm on a mission to get them to work together.

I'm sure someone out there could help for such a worthy cause.....


Title: Re: Installed but say incoorect prefix?
Post by: locutus on July 02, 2008, 02:29:55 AM
The reason there is no Joomla 1.5.x bridge is in fact a legal problem and not a coding problem in the first place. Please read this:
http://www.simplemachines.org/community/index.php?topic=184558.msg1174172#msg1174172


Joomla Forum | Powered by SMF 1.1 RC1.
© 2001-2005, Lewis Media. All Rights Reserved.
Joomla Bridge by JoomlaHacks.com