aan alle goede dingen komt een eind, webmasterplein.net 2003 - 2013
wij danken jullie voor al mooie momenten die dankzij dit forum ontstonden - Derk, Rutger en Stef

Database errors ??

Je komt er niet helemaal uit bij het scripten? Übergoede functie geschreven? Alles met betrekking tot scripting, kun je hier terecht.

Database errors ??

Berichtdoor JohnH » 14 mei 2005 09:17

Ik krijg regelmatig een error in mijn phpBB (versie 2.0.14 had het ook al in vorige versies). Ik weet ook niet of het met php of db te maken heeft.

error code:
Could not obtain user/online information

DEBUG MODE

SQL Error : 1030 Got error 12 from storage engine
SELECT u.username, u.user_id, u.user_allow_viewonline,
u.user_level,

s.session_logged_in, s.session_ip FROM phpbb_users u,
phpbb_sessions s

WHERE
u.user_id = s.session_user_id AND s.session_time >= 1115473726
ORDER
BY
u.username ASC, s.session_ip ASC

Line : 108
File : page_header.php

mijn host schtijft dat ik dit moet doen:

To reliably use sessions with php, it is highly recommended (and may become required in the near future) to change the session.save_path value to a directory within your home directory. This is more reliable and secure than using the default /tmp directory. The /tmp directory is world writeable which means anyone can delete your session files.

You can do this two ways.

1) Use a custom php.ini file and put it in your htdocs directory. For more information on how to do this please go to the following URL:

http://support.powweb.com/index.php...S ... opic_id=57

2) You can use the session_save_path() function to change it real time in your scripts. This needs to be called before session_start(). An example that would save your session files in your htdocs directory would be:

session_save_path($_SERVER['DOCUMENT_ROOT']);
session_start()

You may want to put your session files in their own directory outside of your htdocs directory.

For more information on how to do this go to the following URL:

http://www.php.net/session_save_path

PowWeb is working towards load balancing our web servers to provide you with more redundant and reliable service. When we do this your viewers may access your site from multiple servers. Having their session data saved in your directory is the only way to ensure that their sessions will work properly.

En mijn probleem is dat ik een newbie ben Crying or Very sad
JohnH
wmpr
 
Berichten: 1
Geregistreerd: 14 mei 2005 09:08

Keer terug naar PHP, ASP, SQL



cron