Author |
Message |
19/12/2007 11:21:31
|
testar81
Beginner
Joined: 22/10/2004 10:02:31
Messages: 38
Offline
|
Hi, i can log in to the admin site but when i press anything in the admin site like easy admin i got this error:
Warning: mktime() expects parameter 4 to be long, string given in /home/domains/billingsforsik.net/html/forum/lib/session.class.php on line 32
and i have to log in again but if i press anything the same error comes again.
My webbhotel has just change the sql server adress, can it be something there or What can the problem be?
|
Nordiva. |
|
20/12/2007 20:30:29
|
Carbonize
Master
Joined: 12/06/2003 19:26:08
Messages: 4292
Location: Bristol, UK
Offline
|
There is no mktime in session.class.php. What version of the guestbook are you using?
|
Carbonize
I am not the maker of the Advanced Guestbook
get Lazarus |
|
21/12/2007 09:27:19
|
testar81
Beginner
Joined: 22/10/2004 10:02:31
Messages: 38
Offline
|
My version is: Advanced Guestbook 2.2 and in my session.class there is mktime
|
Nordiva. |
|
21/12/2007 09:47:32
|
Carbonize
Master
Joined: 12/06/2003 19:26:08
Messages: 4292
Location: Bristol, UK
Offline
|
Either email me your session file or wait until I find my copy of 2.2 which I have somewhere.
|
Carbonize
I am not the maker of the Advanced Guestbook
get Lazarus |
|
21/12/2007 09:57:27
|
Carbonize
Master
Joined: 12/06/2003 19:26:08
Messages: 4292
Location: Bristol, UK
Offline
|
Ok I see it but looks like the problem is on your server. Without being able to access your server I couldn't say for certain what.
|
Carbonize
I am not the maker of the Advanced Guestbook
get Lazarus |
|
21/12/2007 10:08:03
|
Carbonize
Master
Joined: 12/06/2003 19:26:08
Messages: 4292
Location: Bristol, UK
Offline
|
I can send you a file to upload to your server so we can see what results it is getting if you wish.
|
Carbonize
I am not the maker of the Advanced Guestbook
get Lazarus |
|
21/12/2007 13:49:18
|
testar81
Beginner
Joined: 22/10/2004 10:02:31
Messages: 38
Offline
|
Sounds fine to me carbonize.
here are the line 32 in my sessions file the it complains over:
|
Nordiva. |
|
21/12/2007 14:55:56
|
Carbonize
Master
Joined: 12/06/2003 19:26:08
Messages: 4292
Location: Bristol, UK
Offline
|
i think it might have something to do with the contents of your last_visit field in the auth table of the database,
|
Carbonize
I am not the maker of the Advanced Guestbook
get Lazarus |
|
21/12/2007 16:02:35
|
testar81
Beginner
Joined: 22/10/2004 10:02:31
Messages: 38
Offline
|
Earlier i had an controlpanel on my webhotel but after a new company bought the webhotel they took cpanel away which is boring cause on the cpanel i could do anything for exampel change into the tables if i wanted to. What can i do about this problem.
|
Nordiva. |
|
21/12/2007 16:04:24
|
Carbonize
Master
Joined: 12/06/2003 19:26:08
Messages: 4292
Location: Bristol, UK
Offline
|
You can download and install phpMyAdmin yourself.
|
Carbonize
I am not the maker of the Advanced Guestbook
get Lazarus |
|
26/12/2007 21:37:12
|
testar81
Beginner
Joined: 22/10/2004 10:02:31
Messages: 38
Offline
|
Hi i have now downloded myphp and in book_auth the type for last_visit is tinyint(11). What should it be?
|
Nordiva. |
|
26/12/2007 21:47:03
|
Carbonize
Master
Joined: 12/06/2003 19:26:08
Messages: 4292
Location: Bristol, UK
Offline
|
Click Browse and see what the contents of last_visit are. Also is it last_visit or LAST_VISIT ?
|
Carbonize
I am not the maker of the Advanced Guestbook
get Lazarus |
|
27/12/2007 10:01:20
|
testar81
Beginner
Joined: 22/10/2004 10:02:31
Messages: 38
Offline
|
After clicking browse i got this:
SQL query:
SELECT COUNT( * ) AS `Rows` , `last_visit`
FROM `book_auth`
GROUP BY `last_visit`
ORDER BY `last_visit`
LIMIT 0 , 30
|
Nordiva. |
|
27/12/2007 17:13:11
|
Carbonize
Master
Joined: 12/06/2003 19:26:08
Messages: 4292
Location: Bristol, UK
Offline
|
Browse should let you see the contents of the fields. I need to know what last_entry is set to.
|
Carbonize
I am not the maker of the Advanced Guestbook
get Lazarus |
|
27/12/2007 19:12:09
|
testar81
Beginner
Joined: 22/10/2004 10:02:31
Messages: 38
Offline
|
Is set to tinyint(11) id that whats you mean.
|
Nordiva. |
|
|