PDA

View Full Version : Problem with adding a PHP page (specifically with mysql)


sp0di
01-22-2007, 02:37 PM
Okay, here's a fun one for ya. I finally was able to figure out the whole add a page thing. I have a test page up (bb code) and tried to put up a php page. Here's where things get interesting!

The php page is a link to a newletter area (not intergrated with vbulletin) but a place where people can sign up without signing up for a vb account (don't ask)... The application works great on it's on but when I try to have it wrapped inside of vbadvanced I get a weird error :|


Fatal error: Cannot use object of type vB_Database as array in /home/homebrew/domains/novahomebrew.com/public_html/oneadmin/config.php on line 10

Now, the php page works fine on it's own - http://www.novahomebrew.com/newsletter.php
but when intergrated using a php page - it just does not work :(

Any hints would be GREAT!

Brian
01-23-2007, 10:00 AM
Sounds like the two scripts are not going to be compatable.

Our Sponsors
 

sp0di
01-23-2007, 10:24 AM
what about putting the newsletter database within the vb database - you think that would make a difference?

Brian
01-23-2007, 12:03 PM
No, it's a conflict with the PHP files, so the database shouldn't make a difference.