4
You might try this:
Quote:
Using a DB utility like PHPMyAdmin, connect to your database and 'empty' the session table - it will be called yourxoopsprefix_sessions. Go back and 'repair' the session table, then try to log in again.
The PHPMyAdmin website explains how to check and repair tables.
Before doing that, you should double check that your file and folder permissions have been set correctly. See the documentation site for details. If they are correct and this is a new site, you would be better off re-uploading the files. Corrupt FTP transfers of PHP files are often the cause of many weird problems.
PHP files should be transferred in ASCII (text) mode. This ensures line feed characters are converted to the correct format for the receiving server. This is especially important if you edit PHP files on a Mac using an editor that saves files in Mac format. The 'auto' setting in most FTP apps *should* do this automatically, but not all do.
If you use WAIS FTP, make sure you don't inadvertently have the 'convert filenames to lower-case' option selected. You tend to forget that Unix/Linux is case sensitive when you build a site on a PC.
If you have edited 'mainfile.php' locally, ensure there are no spaces or blank lines following the closing PHP tag (a common cause of errors).
You will minimise unpleasant surprises if you can mirror the live server config as closely as possible on your development computer, e.g. MySQL version, PHP version, register_globals settings etc. For example, if you use XAMPP you don't have to use the very latest versions of PHP or MySQL, they do have other distributions available.
Check the XOOPS FAQ for more info on access issues, blank pages etc.
HTH.
A thread is for life. Not just for Christmas.