Quote:
ICHI_UK wrote:
I have used PHP Debugger to test this and no errors are shown... even when the INVALID SUBMISSION error appears
Sorry, I wasn't clear, try the
Gubed PHP debugger, because that will allow you to 'step through' code, examine variables,etc.
I may be wrong, but I 'don't think' the normal PHP Debugger will give you the ability to step through code ??
Coming from a background where testing was not a choice, but demanded, having a seperate 'test' environment on your website is essential. Whether it simply be a path that only you know (probably the best idea for security reasons), or some 'official testing area', like
http://test.example.com, is your choice, but you don't want frustrated users, and testing modules/code _before_ it goes into production _should_ save you from situations like this.
If you want to find out if it is a server problem (setup/config), then it may take quite a while to track down exactly what it is. My advice would be to put all the XOOPS site on a seperate server (yes a lot of work but I see this problem was reported back in January), OR find someone who has _exactly_ the same (forum) code as your site, and for starters, compare the PHP settings.
If the basic problem is session related, make sure you are using either sessions or cookies, definitely not both, and check the php settings in those areas, both local and global.
If there was any point in time when the forum posts worked, ask yourself the question 'what has changed', or better still, if you have a backup of the code from when the forum posts worked, then do a complete compare against the code 'as at now'.
Just my 1 cents worth, HTH
Peter