vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   RPG Integration Hack (https://vborg.vbsupport.ru/forumdisplay.php?f=102)
-   -   Problem while installing. (https://vborg.vbsupport.ru/showthread.php?t=78262)

SilentK 03-17-2005 02:36 PM

Problem while installing.
 
I have vbulletin 3.0.7 and I just attempted to install the rpg intergration hack. The problem I am having is that all the pages in my forums are now loading blank. What would be causing this?

Revan 03-17-2005 03:39 PM

Are you sure you modifyed the files correctly? Did the installer echo any errors?
Try uploading your backup of the files, and see if this restores your pages.

SilentK 03-17-2005 04:07 PM

I am pretty sure I modified them correctly.
I am guessing the problem is I haven't run the installer yet because when I did it said some verify_check wasn't found and that I should add/modify files.

Whenever I try to run the installer it's a blank page.
*edit* undid modifications so I could re run installer to show error message.

Ok here's the error message the install script is saying
Quote:

You need to modify and upload all vB and RPG files before proceeding with the hack installation/upgrade!
Returned error(s):


Function 'verify_field_exists' does not exist.

Chief Corn 03-17-2005 04:25 PM

here ya go...

https://vborg.vbsupport.ru/showthread.php?t=77501


revan, maybe in the instructions move the global edits up before the rpg_install.php step.

SilentK 03-17-2005 04:31 PM

Thanks for the help I have it installed now. I guess I got confused when it said modify files took that to mean to go modify them all.

Ok the rpg hack is working somewhat but I am having some problems with my admincp.

I have checked over all the modifications I have done for in these files
adminfunctions_templates.php, adminpermissions.php, global.php (admincp one) and index.php and I am positive I did the modifications right. However whenever I try to load something up in my admincp it comes up blank. I think this has something to do with checking if administrator has permission to edit rpg.

Also if I leave the line checking adminpermission in init.php on it makes my forums come up blank so I took that line out and everything loads fine for the forums no errors or anything even the rpg files load it's just my admincp that gets screwed up. Any ideas why this is happening?

Other hacks I have installed are.
v3arcade, vbadvanced cmps, ushop/ucash and thats it.

Revan 03-17-2005 05:50 PM

I think I know what the error is.
In the bitfield array in init.php, you need to take the value of the LAST entry, DOUBLE the numeric value after the =>, then add the rpg line with the doubled value instead of whatever the instructions say.
Tell me if this solves your problems :)

For instance, even though my instructions say it should look like this:
PHP Code:

    'canadminupgrade'       => 32768,
    
'canadminrpg'           => 65536

, on my live forum it looks like this:
PHP Code:

    'canadminupgrade'       => 32768,
// SHOUTBOX
    
'canadminshouts'           => 65536,
// SHOUTBOX    
    
'canadminrpg'        => 131072 

Quote:

Originally Posted by Chief Corn
here ya go...

https://vborg.vbsupport.ru/showthread.php?t=77501


revan, maybe in the instructions move the global edits up before the rpg_install.php step.

I could, but since they should be ran in quick succession, I figured I added that error check to the installer to tell the user exactly what to do first.

SilentK 03-17-2005 06:06 PM

I already have it like that.
PHP Code:

'canadminupgrade'       => 32768,
'canadminrpg'             => 65536


Revan 03-17-2005 06:11 PM

Do you have any other bitfield values after this, then?
If so then they cannot have the same value as the canadminrpg.
Also, possibly removing the comma. No idea why this should make a difference, but meh...

SilentK 03-17-2005 06:28 PM

Those are the last two. I have tried it with and without the comma doesn't make a difference. I doubt this is causing it but in the adminfunctions_template.php looks like this.

PHP Code:

'subscription' => $vbphrase['group_paid_subscriptions'],
        
'rpg_' => $vbphrase['rpg_integration_hack'],
        
'aaa' => 'AAA Old Backup'
); 

I got init.php working instead of copying and pasting I typed it up don't know why that would make a difference but oh well it worked.

Still having trouble with admincp though. I have checked over all the edits to the admincp and I am pretty sure they were done correctly.

What's odd though is that even if I directly type in a filename in the admincp it loads up blank. This makes me suspect adminfunctions_template.php or a global.php

Revan 03-17-2005 07:15 PM

If you remove the edit to admincp/global.php, does it work?


All times are GMT. The time now is 06:18 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.01165 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
  • (4)bbcode_php_printable
  • (2)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (1)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