Username:    Password:        Click Here To Signup     Forgotten Password
Main Menu
Online
Members: 0

Guests: 14

110.89.x.x forum
112.111.x.x forum
119.63.x.x user
173.199.x.x forum
175.44.x.x forum
175.44.x.x news
178.255.x.x rss
184.72.x.x forum
190.201.x.x download
192.151.x.x forum
220.250.x.x forum
58.22.x.x forum
66.249.x.x lgsl
66.249.x.x dilbertplus

Last Seen

ODDBALL118 Sun 22:17
code72 Sun 19:52
xMin Sun 18:02
Wussie Sun 17:35
Hostprofil Sun 15:10

Newest Members

Forums
rwar and e107 smf bridge
fsh
Sun Jul 05 2009, 05:59PM
Posts: 4
Joined: Sun Jul 05 2009, 05:56PM
Registered Member #5223
I'm using smf bridge for e107 and I'm getting an error where the 'rwar' menu should be located

Table '013clan_forums.e107_rwar' doesn't exist

Anywhere else the menu item works fine
fsh
Mon Nov 02 2009, 02:32PM
Posts: 4
Joined: Sun Jul 05 2009, 05:56PM
Registered Member #5223
Need help!
Rich
Tue Nov 03 2009, 06:36AM
Posts: 1700
Joined: Wed Nov 26 2003, 04:30PM

Your SMF bridge is breaking the connection to the e107 database, and not re-joining the connection after its finished.

Really it should be fixed at the bridge level.

I can give you some code to stick in the rwar plugin code to re-connect the database, but that will only fix rwar, where a fix in the bridge will apply to all e107 plugins.
Website
fsh
Wed Nov 04 2009, 05:43PM
Posts: 4
Joined: Sun Jul 05 2009, 05:56PM
Registered Member #5223
http://013clan.jaketus.net/index/e107_plugins/smf/smf.php

Most of the plugins are working. Could you give me the line of code to fix it then?
Rich
Wed Nov 04 2009, 08:35PM
Posts: 1700
Joined: Wed Nov 26 2003, 04:30PM

For the rwar_menu.php put at the top of the code
For the rwar index.php put after require_once class2.php


require e_BASE."e107_config.php";
$rwar_database  = mysql_connect($mySQLserver, $mySQLuser, $mySQLpassword) or die(mysql_error());
$rwar_select_db = mysql_select_db($mySQLdefaultdb, $rwar_database) or die(mysql_error());
Website
fsh
Thu Nov 05 2009, 07:32AM
Posts: 4
Joined: Sun Jul 05 2009, 05:56PM
Registered Member #5223
Thanks, it just isn't working corretly after that either.
No error anymore, but only 1/2 plugin shows.

And also, SMF is creating two pages of errors about the rwar_menu.php

It doesn't have to be reloaded just once, and smf has created two pages of errors.

There are only three kind of errors:

8: Use of undefined constant result - assumed 'result'
File: /var/www/013clan/index/e107_plugins/rwar_menu/rwar_menu.php
Line: 107

8: Use of undefined constant scores1 - assumed 'scores1'
File: /var/www/013clan/index/e107_plugins/rwar_menu/rwar_menu.php
Line: 113

8: Use of undefined constant scores2 - assumed 'scores2'
File: /var/www/013clan/index/e107_plugins/rwar_menu/rwar_menu.php
Line: 114
 

Jump:     Back to top


You are not logged in - Click Here To Signup

Username:    Password:   

Mini Buttons

.... © GreyCube.com - Richard Perry - Powered by e107.org