vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   ibProArcade Archive (https://vborg.vbsupport.ru/forumdisplay.php?f=174)
-   -   Error:arcade/functions/dbclass.php (https://vborg.vbsupport.ru/showthread.php?t=168880)

haytham 01-27-2008 04:28 PM

Error:arcade/functions/dbclass.php
 
Hi,
Did everything from installation instructions then went to Arcade. Any thing I click I get this message:

in /arcade/functions/dbclass.php on line 42

Warning: mysql_select_db(): supplied argument is not a valid MySQL-Link resource in /arcade/functions/dbclass.php on line 45
ERROR: Cannot find database

Warning: mysql_query(): supplied argument is not a valid MySQL-Link resource in /arcade/functions/dbclass.php on line 184

Is there something I should add to this dbclass file???
Please..I am waiting for your help.

--------------- Added [DATE]1201459519[/DATE] at [TIME]1201459519[/TIME] ---------------

Ok I found the problem. My config.php file is the problem. I changed its name and I have a fake one. Your script is reading the fake one. How can I make it read from the new one I have? Where do I tell it to read the config info. from my new named config. file? Waiting. Thanks

--------------- Added [DATE]1201459917[/DATE] at [TIME]1201459917[/TIME] ---------------

Solved. Changed the config name in arcade.php..so far so good. Now will try the converter.

MrZeropage 01-27-2008 05:34 PM

Question: how did you tell vBulletin your new named config-file ?

I could make ibProArcade read this value and use it ...

haytham 01-27-2008 05:41 PM

in the arcade.php in admincp:
REQUIRE BACK-END ############################
require_once('./global.php');
require_once('./includes/functions_misc.php');
include "./includes/mynewconfigfile.php";

MrZeropage 01-27-2008 08:29 PM

Yes, sure - but how did you tell your vBulletin not to include config.php ?


All times are GMT. The time now is 05:29 AM.

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.01090 seconds
  • Memory Usage 1,711KB
  • 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)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (4)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
  • bbcode_fetch_tags
  • bbcode_create
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • printthread_post
  • printthread_complete