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)
-   -   [HIS] Hack Installer System (Build 3) (https://vborg.vbsupport.ru/showthread.php?t=71542)

sabret00the 02-13-2005 02:55 PM

is there a FAQ laying around on how to use this at all?

Marco van Herwaarden 02-13-2005 03:15 PM

Quote:

Originally Posted by sabret00the
is there a FAQ laying around on how to use this at all?

Try reading this thread.

sabret00the 02-13-2005 05:14 PM

would i be right to assume that none of this stuff (regarding creating the hack is done dynamically, i have to manually code it into the example files)?

sabret00the 02-13-2005 05:40 PM

seriously, no disrespect to anyone but is their anything THIS hack actually does? or is it just basically a tutorial for creating an installer?

sabret00the 02-14-2005 12:45 PM

ok now i'm starting to get this thing after more confuz-zed-ness than you shake a stick at.

i must reitterate it should really come with a basic readme/faq. but thank you for your efforts.

i have run into a problem though
PHP Code:

Warninghalt(./includes/functions_log_error.php): failed toopenstreamNo such file or directoryinK:\Network\xampp\htdocs\forums\includes\db_mysql.php on line 389

Warning
halt(): Failed opening './includes/functions_log_error.php'forinclusion (include_path='.;K:\Network\xampp\php\pear\')inK:\Network\xampp\htdocs\forums\includes\db_mysql.php on line 389

     

    There seems to have been a slight problem with the EBS:L!VE Forums database.
    Please try again by pressing the refresh button in your browser.

    An E-Mail has been dispatched to our Technical Staff, who you can also contact if the problem persists.

    We apologise for any inconvenience.
Database error in vBulletin 3.0.3: 

Code:

Invalid SQL: SELECT varname, text FROM phrase WHERE varname IN () ORDER BY languageid DESC
mysql error: You have an error in your SQL syntax. Check the manualthatcorresponds to your MySQL server version for the right syntax tousenear ') ORDER BY languageid DESC' at line 1

mysql error number: 1064

Date: Monday 14th of February 2005 02:41:30 PM
Script: http://localhost/forums/install/hack_install.php
Referer: http://localhost/forums/install/hack_install.php
Username: sabret00the
IP Address: 127.0.0.1

ok it's not as simple as i thought it would be to fix it, the error is here
PHP Code:

               // Now grab all the phrases for the settings andunset the unneeded variable.
               
$teh_settings2 $DB_site->query("SELECT varname,text FROM ".TABLE_PREFIX."phrase WHERE varname IN ($sg_in) ORDER BYlanguageid DESC"); 
                unset(
$sg_in);
               while (
$the_settings2 =$DB_site->fetch_array($teh_settings2)) {
                   
// Figure out what's what and putthem in the setting array.
                   
$varname =str_replace("setting_"""$the_settings2['varname']);
                    if (
strpos($varname"_desc")) {
                       
$varname =str_replace("_desc"""$varname);
                        
$pt "desc";
                    } else {
                       
$varname =str_replace("_title"""$varname);
                        
$pt "title";
                    }
                  
$hack_settings[$varname][''.$pt.'phrase'] = str_replace("'""\'",$the_settings2['text']);
                    
// Now unset some crap.
                    
unset($varname);
                    unset(
$pt);
                } 

the $sg_in doesn't seem to be set

noppid 02-14-2005 01:13 PM

This is a good idea, but does have some issues that could be a problem. Not knowing 100% how things work, I can't call um bugs.

I attempted to use this with the creator and had no success. However I did learn enough to see how to do the create by hand. After getting that far I decided that the proceedures available to the users were not exactly the logic I would have liked. My experience with the shoutbox factored in as well.

Great idea, I hope that it gets turned into a full blown documented tool with some ideas from the community applied to how and what things are done.

Marco van Herwaarden 02-14-2005 02:23 PM

Any SQL error that you run into, will give the above error, and has been reported before i think in this thread.

noppid 02-14-2005 04:25 PM

Probably, because the same variable don't work in creator.php.

The MySql IN () is empty.

sabret00the 02-14-2005 08:51 PM

Quote:

Originally Posted by noppid
Probably, because the same variable don't work in creator.php.

The MySql IN () is empty.

yup that's the same conclusion i came too, but i don't know why it's empty or how to fix it. :(

sabret00the 02-14-2005 08:56 PM

Quote:

Originally Posted by MarcoH64
Any SQL error that you run into, will give the above error, and has been reported before i think in this thread.

i know but it never got answered :(


All times are GMT. The time now is 02:33 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.01193 seconds
  • Memory Usage 1,757KB
  • 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
  • (1)bbcode_code_printable
  • (2)bbcode_php_printable
  • (3)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (4)pagenav_pagelink
  • (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