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

Guests: 12

101.226.x.x news
175.44.x.x forum
175.44.x.x forum
175.44.x.x forum
180.153.x.x signup
180.153.x.x forum
23.22.x.x forum
42.62.x.x forum
54.234.x.x forum
59.58.x.x signup
66.249.x.x user
94.142.x.x forum

Last Seen

xiagang Tue 03:08
Zipps Tue 03:07
Wussie Mon 18:32
Dodgeitorelse Mon 13:58
Hostprofil Mon 12:44

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