![]() |
Hey Guys.
I have an issue regarding this hack. It is actually working fine, and it was on my old server aswell. However, since I moved across to a new server, this error has been appearing on all the pages I have that chdir script on. The error is as follows. Fatal error: Call to a member function unlock_tables() on a non-object in /home/thrillhi/public_html/forums/includes/functions.php on line 4419 And it is appearing just at the bottom of my page's. A link to it can be found here: www.thrillhistory.com Thanks guys for your assistance. |
Hey Guys, is anyone able to help an Aussie?
|
I think it may be the MySQL/PHP config on your new server but Im not sure.
|
Just wanted to say this works great!
I do have a couple of questions: 1. The login never times out, you have to actually click logout. Is there a way to set a timeout? 2. On both Login and Logout can the VB menus that display(logout you have to actually click out of) can the code actually hide these menu's. Thanks, Bob |
Quote:
Do you have a session expire time set in your Admin CP? Quote:
Can you give me a little more detail please. |
Session timeout is set in the admincp
I have attached to screen shots. Both screens stay up until you click continue or hit the back button. |
Quote:
I havent come accross this before. In the "Cookies and HTTP Header Options" section of the Admon CP what happens if you turn the "Remove Redirection Message Pages" setting off? |
I have installed the login to our page and it works, but now i need to modify the design a bit. I have added a css file to the login_inc.php but i need to add some linke behaviour with css class. Here is one of the lines i need to modify, i have tried some but no sccess, only getting errors then i do it.
PHP Code:
Getting following error. Quote:
|
For the CSS.. heres what I did.
The page I included the login_inc.php already had a CSS Style Sheet applied to it so I just used the class... Anyway part of my style sheet. PHP Code:
PHP Code:
notice this part... PHP Code:
As for the CuteNews thingy Im not sure.. I'll need to see the file functions.inc.php and the rest of your code. Anyway hope I was of some help - SKNY |
That helped alot SKNY, needed an example how to write the class in the php code, THX. :cool:
|
i sent you a PM billspaintball. :)
|
Got another problem here now, wich i belive is realted to this login addon, since it disables our page navigation system then i adding the 4 lines of code that should be at top of the page. Our navigation looks like index.php?action=home and displays a root.php page inside index.php. You can se part of the navigation system that are in index.php.
PHP Code:
If you need to see more of the code, just tell me here or send me a pm, except for this problem it is working just fine. |
try this
PHP Code:
|
Quote:
|
Quote:
If thats the cause renaming your $action variable would fix it. |
Quote:
|
If you have access to the person who designed the nav system, that would be the easiest way to get this conflict fixed.
|
Quote:
I just cannot get the session to timeout or get rid of those pages. |
Anyone know how to get this working on the same page as vBExternal (using the news fetch).
|
awesome script billspaintball, anyway of adding total members in the statisics also?
|
also is this script XHTML compliant?
when i check my site for compliancy i get these errors: Quote:
|
Quote:
Yes it is certainly possible, I just need some time to do it. (been flat out since the new baby) Quote:
Im a tad uneducated (and lazy) when it comes to XHTML compliance :( |
congrates on the new baby ;)
I found time today anyways and modifed the script and its almost 100% validated on my site except from 2 errors i made myself modifying the layout. One problem i am having is with the link showing double // for example when a unregisterd user clicks register they r sent to this link: http://www.bluepearl-design.com/forums//register.php?s= Here is a link to the test page using this script: http://www.bluepearl-design.com/test.php |
Hi Billspaintball,
I get this error, only when I'm not logged. Code:
Warning: array_keys() [function.array-keys]: The first argument should be an array in /includes/functions.php on line 4259 EDIT: fixed!!:cool: |
Fatal error: Cannot use object of type vB_Database as array in /public_html/admin/common.php on line 53
line 53: $udb->start($db['host'],$db['user'],$db['pass'],$db['name']); because i have another sql database for my site that it calls it does this. How can i stop it from trying to make a vb array database? Thanks. |
any ideas why i am getting double // in my urls? been trying so many different combinations of paths and i just cant seem to figure it out hehe
|
Quote:
|
either change this $forumpath = "http://www.yoursite.com/forums/";
to $forumpath = "http://www.yoursite.com/forums"; or go into the login_inc and find You have to <a href=\"".$forumpath."/register.php?s=$session[sessionhash]\" take out that / in front of register You have to <a href=\"".$forumpath."register.php?s=$session[sessionhash]\" should be this. |
Quote:
I think you got this error because vbulletin has a variable called $db. Try to rename your variable, $db_site instead of $db. |
Quote:
|
Quote:
|
When i am logged in it says im not, and when i login it jsut redirects me to my vbulletin forum.
|
Quote:
They are not really compatible. Easiest thing is to is add a login functionaly to vB external. |
Quote:
Also flush your browser cache and make sure you force a page refresh (CTRL+F5) |
many thank you, it was the chache.
Now.. i must edit it to suit my needs :) Thanks bill :) |
This is a great script! having a problem though. when browsing to the external site containing the login box while not logged in (cookies cleared) instead of showing the normal site, i get the forum login page. when i log in i get a 404 error because its looking for login.php in the root directory (not the forum directory). What i'd like is for a non-logged-in user navigates into the page, they see the normal page plus the login box. i've tried the simple page as suggested in the instructions and same thing happens. if i am logged in prior to going to the page, it works fine.
your help is appreciated, thanks |
Quote:
Do step two of troubleshooting to confirm the path, then make sure that it matches PHP Code:
PHP Code:
Quote:
Quote:
|
Hey bill! you should port this to 3.6, since it allready works with it without a problem ;)
|
Hey, I'm still getting problems with the logging in, then it doesn't show me logged in. Sometimes, if I clear my cookies it will work. Then the next time I turn on my computer, or anyone elses for that matter, it won't work. The cookies setting in vb is set to /. I really dont understand why this keeps happening.
Another question, is there a way to decrease the loading times? I've gotten a couple comments that it takes a while for the page to load and it gets stuck when grabbing the users information after they logged in. Am I the only one that gets that? |
Quote:
Well, it's not really a solution, but it will get rid of the error. I've just started using Cutenews, and found that this error really does not effect Cutenews....at all. It's simply very annoying and makes your website look unprofesional. So, I found that the best thing to do is simply turn off error reporting in the Cutenew's shownews.php file. If you are unsure how to do that, browser into your shownews.php file and at the very top you'll see PHP Code:
PHP Code:
While I'm posting, any progress on the avatar issues yet :D. When I "succeeded' in this I tried to tackle that again...still not finding a good solution. |
All times are GMT. The time now is 10:51 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:
|