vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 3.0 Full Releases (https://vborg.vbsupport.ru/forumdisplay.php?f=33)
-   -   Advanced Warning System (AWS) (https://vborg.vbsupport.ru/showthread.php?t=71992)

sv1cec 12-29-2004 04:11 AM

Quote:

Originally Posted by Fibe
Something has gone wrong or i missed something.

I had Zero Tolerance warning hack 1.5. So I only followed the instructions from WarningSystemInstallationInstructions.txt and the upgrade_warn.php file ran without any error now though:
  • In admincp I have 2 tabs: Warning Systems and the old warning Options.
  • Clicking on "View Warning Logs" results in: Could not find phrase 'no_warnings_found'.
  • "View Banned users" results in:
  • And finally when clicking on "view warnings" inside someones posts I get an empty white screen.

So did i miss anything? or just messed up hardcore and should retry ?

You haven't add the 'reason' column in the userban table.

The query is in the install_warn.php file, so I do not understand why it didn't get created.

Run this query manually:

ALTER TABLE `".TABLE_PREFIX."userban` add `reason` mediumtext

One more thing, after you run the upgrade_warn.php script, did you do all the mods that are described?

Rgds

sv1cec 12-29-2004 04:17 AM

Quote:

Originally Posted by Torqued
John,

I had v1.3 installed. I ran the uninstaller, and removed the file changes manually. When trying to run the installer for 3.0, I'm getting the following:

Parse error: parse error, unexpected T_STRING in /home/mydomain/public_html/forums/admincp/install_warn.php on line 285

edited to add:

I think I fixed it:

I found this in the install_warn.php file:



and changed it to this:



It looks like the $DB_site->query(" was missing. After making that change, the install_warn.php completed successfully. Just have to do the file/template edits now.

Thanks for spotting this, you are right.

sv1cec 12-29-2004 04:20 AM

Quote:

Originally Posted by skinny
I want to install this tonight, from fresh. Can we have confirmation that the files are correct in he latest zip. Having mod_warn outside the modcp folder seems wrong.

Strange, it looks as if the zipper screwed something up. In my directory structure, the mod_warn.php is in the modcp directory. Functions_warn.php is in the includes etc. I also have the kill_bans.php file in the includes/cron directory and I noticed it does not exist in the zip I uploaded.

I uploaded a new zip file, which should be OK, please let me know if it is.

Rgds

sv1cec 12-29-2004 05:55 AM

Quote:

Originally Posted by Torqued
A question for those using this hack:

What sorts of things are you guys setting up warnings for?

There is a picture in the thumbnails, the last one I think, which shows my warning types. You can start there, and move along.

Rgds

sv1cec 12-29-2004 06:05 AM

On Wednesday December 29th, at GMT 12:15, I just uploaded a new zip file, with the updated upgrade_warn.php, the file used to upgrade from Zero Tolerance's ver. 1.5 hack to the latest version of AWS.

It should upgrade ZT's hack directly to the specs of AWS V.3.0.

Let me know if you have any problems.

Fibe 12-29-2004 12:06 PM

Ok I managed to fix a few things, but it seems that not all phrases were installed and not all tables were added to database.

I tried uninstall and using install_warn.php and upgrade_warn.php
but both give me errors like:

Does not excist
Duplicate
etc

Which means I am unable to install the phrases. So what i'd like to know is what i should manually remove from the database. So I can actually finish the scripts.

Once that ahs been done I run install_warn ? or upgrade_warn? Or both...

Thanks !

sv1cec 12-29-2004 02:00 PM

Quote:

Originally Posted by Fibe
Ok I managed to fix a few things, but it seems that not all phrases were installed and not all tables were added to database.

I tried uninstall and using install_warn.php and upgrade_warn.php
but both give me errors like:

Does not excist
Duplicate
etc

Which means I am unable to install the phrases. So what i'd like to know is what i should manually remove from the database. So I can actually finish the scripts.

Once that ahs been done I run install_warn ? or upgrade_warn? Or both...

Thanks !

Run uninstaller.php from the latest zip file (download it again). Then run install_warn.php, that should do everything for you.

Rgds

Fibe 12-29-2004 02:10 PM

Ok managed to fix it. I removed the wrong table. Readded it and now all seems to work fine!

Thanks for all your help and now I can finally enjoy this AMAZING hack.

Thanks again.

sv1cec 12-29-2004 02:49 PM

Quote:

Originally Posted by Fibe
Ok managed to fix it. I removed the wrong table. Readded it and now all seems to work fine!

Thanks for all your help and now I can finally enjoy this AMAZING hack.

Thanks again.

I was checking the install script just in case I 've screwed something up, and I just came back to answer. Glad you made it.

Rgds

TRStealth 12-29-2004 04:36 PM

Any idea why I'm getting my error?

Quote:

Originally Posted by Stealth
I keep getting this error when I try to run the query to update from 2.5 -> 3.0

An error occurred while attempting to execute your query. The following information was returned.
error number: 1103
error desc: Incorrect table name '".TABLE_PREFIX."warning_options'



All times are GMT. The time now is 07:59 PM.

Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.

X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.01990 seconds
  • Memory Usage 1,747KB
  • Queries Executed 10 (?)
More Information
Template Usage:
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (7)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (4)pagenav_pagelink
  • (3)pagenav_pagelinkrel
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (10)printthreadbit
  • (1)spacer_close
  • (1)spacer_open 

Phrase Groups Available:
  • global
  • postbit
  • showthread
Included Files:
  • ./printthread.php
  • ./global.php
  • ./includes/init.php
  • ./includes/class_core.php
  • ./includes/config.php
  • ./includes/functions.php
  • ./includes/class_hook.php
  • ./includes/modsystem_functions.php
  • ./includes/class_bbcode_alt.php
  • ./includes/class_bbcode.php
  • ./includes/functions_bigthree.php 

Hooks Called:
  • init_startup
  • init_startup_session_setup_start
  • init_startup_session_setup_complete
  • cache_permissions
  • fetch_threadinfo_query
  • fetch_threadinfo
  • fetch_foruminfo
  • style_fetch
  • cache_templates
  • global_start
  • parse_templates
  • global_setup_complete
  • printthread_start
  • pagenav_page
  • pagenav_complete
  • bbcode_fetch_tags
  • bbcode_create
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • printthread_post
  • printthread_complete