![]() |
Can anyone see any problems with this code?
This code grabs the most recent post, author blah blah... I keep getting an error message that states:
Quote:
Code:
<?php |
put in global $DB_site; and see how that goes.
|
You need your global.php mate.
Change PHP Code:
PHP Code:
|
I've installed many hacks but for some reason, I can't get the path right for my global.php.. I have set it to /homepages/24/d116946458/htdocs/vb/global.php , but it now says
Quote:
|
Something else is assuming you are in the forums folder.
try ... chdir("/homepages/24/d116946458/htdocs/vb"); Before your call to include global. |
Heh :).
Are you coding a vBa cmps module? Or is this a normal script, and you're using a cmps module as a guide? |
Yeah, this is for a vBadvanced module at the top of my site. I made sure that I specified the forum to pull the objects from
Quote:
|
Try filling in 2 instead of the variable, see what it gives.
|
NOPPID- you're the man. I put the chdir... before it, and now I don't receive an error message. One problem though, and I suspect it is with my template, but if you go to the homepage, well, you can see its kind of messed up.
My template goes something like this... Code:
<table align="center" border="0" cellpadding="$stylevar[cellpadding]" cellspacing="$stylevar[cellspacing]" class="tborder" width="100%"> |
Quote:
|
All times are GMT. The time now is 07:58 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 | |
---|---|
|
|
![]() |
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|