If you are not registered or logged in, you may still use these forums but with limited features. Show recent topics
  [Search] Search   [Hottest Topics] Hottest Topics   [Members]  Member Listing   [FAQ]  FAQ 
[Register] Register / 
[Login] Login 
Problems after logging in to admin site.  XML
Forum Index » Advanced Guestbook Forum
Author Message
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.
Carbonize
Master
[Avatar]

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
[Email] [WWW] [Yahoo!] aim icon [MSN] [ICQ]
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.
Carbonize
Master
[Avatar]

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
[Email] [WWW] [Yahoo!] aim icon [MSN] [ICQ]
Carbonize
Master
[Avatar]

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
[Email] [WWW] [Yahoo!] aim icon [MSN] [ICQ]
Carbonize
Master
[Avatar]

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
[Email] [WWW] [Yahoo!] aim icon [MSN] [ICQ]
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.
Carbonize
Master
[Avatar]

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
[Email] [WWW] [Yahoo!] aim icon [MSN] [ICQ]
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.
Carbonize
Master
[Avatar]

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
[Email] [WWW] [Yahoo!] aim icon [MSN] [ICQ]
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.
Carbonize
Master
[Avatar]

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
[Email] [WWW] [Yahoo!] aim icon [MSN] [ICQ]
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.
Carbonize
Master
[Avatar]

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
[Email] [WWW] [Yahoo!] aim icon [MSN] [ICQ]
testar81
Beginner

Joined: 22/10/2004 10:02:31
Messages: 38
Offline

Is set to tinyint(11) id that whats you mean.

Nordiva.
 
Forum Index » Advanced Guestbook Forum
Go to:   
Based on the open source JForum