News:

Want to get involved in developing SMF, then why not lend a hand on our github!

Main Menu

Advanced Reputation System

Started by Fustrate, March 25, 2008, 12:51:10 PM

Previous topic - Next topic

Fustrate

Check the database. See if there is a column named 'message' in smf_log_karma.
Steven Hoffman
Former Team Member, 2009-2012

Bigguy

It wouldn't let me browse that table in phpmyadmin. I'll do a bit of maintenance and check again.

THE BRA1N

What does this mean? Can i work around this or what?

Quote
Database Error
Table '***_xmb1.members' doesn't exist
File: /var/www/vhosts/***.###/httpdocs/forum/Packages/temp/install.php
Line: 58


Fustrate

Steven Hoffman
Former Team Member, 2009-2012

TheDisturbedOne

I have a question for this MOD, Can it be made so that if you have X rep, you can get another icon (such as

^that^ (though I would never use a copyrighted image on my forum ;) )

Fustrate

Yes - the more reputation you have, the more little bar images you get :)
Steven Hoffman
Former Team Member, 2009-2012

Bigguy

I can browse that table now and yes there is a column named message.

Quote from: YodaOfDarkness on October 04, 2008, 01:26:56 AM
Check the database. See if there is a column named 'message' in smf_log_karma.

Fustrate

You said you couldn't access it before, so I'd assume that the rep system couldn't either. Does it work now?
Steven Hoffman
Former Team Member, 2009-2012

THE BRA1N

Yoda - I just installed beta 4. No matter what I do, i cant get your latest mod to install. I tried emulating 3.1 and 3 too but still wouldn't let me. That sucks cuz your advance rep  mod is our favorite feature.

EDIT- I also get the following errors when installing..


1.     Execute Code     install.php     
*    2.    Execute Modification    ./index.php    Test successful
      1.    Add After    ./index.php    Test successful
*    3.    Execute Modification    ./Themes/default/Display.template.php    Test failed
      1.    Replace    ./Themes/default/Display.template.php    Test failed
      2.    Add After    ./Themes/default/Display.template.php    Test successful
      3.    Replace    ./Themes/default/Display.template.php    Test successful
      4.    Add Before    ./Themes/default/Display.template.php    Test successful
      5.    Replace    ./Themes/default/Display.template.php    Test failed
      6.    Add Before    ./Themes/default/Display.template.php    Test failed

Fustrate

You'll have to do the first edit by hand, and the last two should say (Ignore Errors), and don't need to be done.

Side note: I HATE BETA 4 AND IT'S MIX OF SEMANTIC AND OLD THEMES!
Steven Hoffman
Former Team Member, 2009-2012

THE BRA1N

In other words, if i do the first test error by hand, then i can ignore the other errors and the package manager should be able to install it (i.e., I wont get that other database error about a table not existing)?

Fustrate

No, Bigguy's error won't (well, shouldn't) happen to you.

Do this first one that errored by hand, and since 3+4 worked, 5+6 don't need to be done.
Steven Hoffman
Former Team Member, 2009-2012

SpectroPro

I want to install your new version.  I am trying to uninstall the current version: 1.5.1.  I have smf 2b4.  when I try to uninstall, I get one test fail error.  It's in sources/load.php  there are 5 replaces going on there.  in the second, I have test fail.  My problem is, and I do these fixes by hand all the time, because I have 42 mods installed in default theme....  when I click on the icon to open the change info, it shows NOTHING.   And here is the kicker...  Every change in the load.php, the 1 that fails, and the 4 that pass, are all blank.  Find:         Replace with:     

There is just nothing there. 

Is this something I need to worry about, or can I just push through and uninstall..??  thanks!

Greg
Stats:  SMF v. 2b4  -  Mambo v4.65  -  Bridge v2.0b1

http://www.therealityrocks.com    http://forum.therealityrocks.com/trr
- Greg

Fustrate

You shouldn't need to upgrade from 1.5.1 to 1.5.2 - it's just an upgrade to the installer that should make it work with old and new themes.
Steven Hoffman
Former Team Member, 2009-2012

SpectroPro

Well, I am sure I'll have to uninstall eventually..so still need to know about this empty thing... 

I also have the error when you click the heart..  so probably need to uninstall until that is fixed..  I thought this new one fixed that problem.. 
Stats:  SMF v. 2b4  -  Mambo v4.65  -  Bridge v2.0b1

http://www.therealityrocks.com    http://forum.therealityrocks.com/trr
- Greg

Fustrate

Refresh your caches... it's that damn cache problem again. I'm gonna go bump my other topic about this.

I've also discovered an error in the non-javascript page that it uses... find:
$message_request = $smcFunc['db_query']('', '
SELECT *
FROM {db_prefix}messages
WHERE id_msg = {int:message}
LIMIT 1',
array(
'message' => $message_id,
)
);


and replace with:
$message_request = $smcFunc['db_query']('', '
SELECT *
FROM {db_prefix}messages
WHERE id_msg = {int:message}
LIMIT 1',
array(
'message' => $message,
)
);
Steven Hoffman
Former Team Member, 2009-2012

Bigguy

Hmm, when I couldn't access it it was installed. Now that it's not I can access that table. I will install it now and see if I can access that table through phpmyadmin again. Not sure if that means anything but it seems weird that the only time I can browse that table is when it is not installed.

Quote from: YodaOfDarkness on October 04, 2008, 02:09:34 PM
You said you couldn't access it before, so I'd assume that the rep system couldn't either. Does it work now?

Fustrate

do the code change above, and flush your cache. Problem solved :D
Steven Hoffman
Former Team Member, 2009-2012

Bigguy

Ok the mod is installed and I can access that table and I still get this error...the message column is also there:

QuoteThe database value you're trying to insert does not exist: message

Was this directed at me ??? :

Quote from: YodaOfDarkness on October 04, 2008, 07:18:16 PM
do the code change above, and flush your cache. Problem solved :D


Fustrate

Quote from: YodaOfDarkness on October 04, 2008, 05:24:13 PM
Refresh your caches... it's that damn cache problem again. I'm gonna go bump my other topic about this.

I've also discovered an error in the non-javascript page that it uses... find:
$message_request = $smcFunc['db_query']('', '
SELECT *
FROM {db_prefix}messages
WHERE id_msg = {int:message}
LIMIT 1',
array(
'message' => $message_id,
)
);


and replace with:
$message_request = $smcFunc['db_query']('', '
SELECT *
FROM {db_prefix}messages
WHERE id_msg = {int:message}
LIMIT 1',
array(
'message' => $message,
)
);


That's the fix. It's been updated in the new package.
Steven Hoffman
Former Team Member, 2009-2012

Advertisement: