![]() |
Alright i downloaded this a few days ago so i should have every update made. I inserted the code into my index.php file, in the spot i want it, the username and password fields show up great, but just under the "Submit Query" button im getting this error
Fatal error: Call to a member function query_read() on a non-object in /home2/grastyz/public_html/login_inc.php on line 149 I dont know why, and i know nothing about coding, so any help would be much appreciated (I have VB 3.5.4 if that makes a difference) |
somewhere else on these forums i found a suggestion to change $db-> to $vbulletin->db but that didnt work so i changed it back
|
Quote:
|
Quote:
Is this page and your forums located on the same server? Have you used the simple troubleshooting test page? If so, did you still have the slow loads and random timeouts? |
Quote:
Also, can you post your pages code here so I see if there is anything obvious. |
Hey, we run our site on multiple servers, Meaning I would like to use this script, but instead of a server path. (Since the are broken up between servers) Is there a way to provide the ability for external server support to lock in and do everything?
I would assume its just a simple connect to the sql database and fetch the data. |
Quote:
I dont see what the difference is. But here is my code anyway This is lines 144-159 PHP Code:
|
Hi. I know you aren't required to provide support for third party software and I don't expect you to but I was hoping you could help me out.
I'm using CMSMS (Content Management System Made Simple) and I'm trying to use your hack. The CMS lets me define php tags to use in the template code so that's no problem. However, when I execute the chdir call, it gives me this: Code:
Warning: array_keys() [function.array-keys]: The first argument should be an array in /includes/functions.php on line 3291 Line 3291 is foreach (array_keys($vbulletin->forumcache) AS $forumid) and I don't see how that conflicts with CMSMS... I'd appreciate your input. Hope to hear a reply from you one way or the other. Thanks. Edit: For reference, I set up a test.php page on my site (manually, not via the CMS) and it worked perfectly. |
Quote:
|
Disregard my previous post, I solved the problem by putting the page into an iframe on the CMS template.
Great hack, thanks. |
All times are GMT. The time now is 08:41 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:
|