-
Notifications
You must be signed in to change notification settings - Fork 120
This issue was moved to a discussion.
You can continue the conversation there. Go to discussion →
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Hangs after session_start() in includes/session.php
in PHP 5.3.1
#17
Comments
admin user password
This is for PHP < 5.4 |
As you mentioned Windows XP SP3, what browser (and version) is in use on that system? |
Tested on FireFox v22, 24.2, v52.2 ESR. Also during installation, after inculcating the Fix for #16, only the What other data / code elements will change if a company is migrated from one installation to another - other than the config.php entry and some records in the Please note that the entries in the |
Do the tables fail to install because of timeout, or some other issue with XAMPP? For the original session_start(), are you sure it is that function, and not the line before that point? Which PHP and MySQL versions are in use with what you have? |
If timeout be an issue, some sort of progress bar would expose it. The fact is that no tables are created at all during the time the browser is waiting for data from the server, when monitored from a separate MySQL client. By placing The XAMPP 1.7.3 sports PHP v5.3.1 and MySQL v5.1.41. |
If this is an issue, the script can temporarily set it to desired value using |
That is the right setting. I'm trying to think of other things, and I'm running short on ideas. What is your path to XAMPP? |
There is no UAC in WinXP. Tried |
True, I forgot about XP and (the lack of) UAC. Are there any potential clues in the Apache log, or possibly the Windows XP admin event logs somewhere? |
No clues anywhere in apache / application error logs. It is necessary to run WebERP in such base level versions to provide confidence to those whose cloud instances fail and need a local instance where Windows of every hue is still popular and cannot be wished away any time soon. What is the manual install sequence other than to
|
Those install steps appear to be correct, though I must admit that it's been awhile since I've done a 'clean' install... I understand the "older windows" factor. Unfortunately, the causes/reasons for the session_start() hang are MANY -- and we just have to try and figure out the deal for your situation. In your php.ini, can you try setting: error_reporting=-1 Then save and restart Apache. If those settings are still not helpful to discover any issue, can you attach a copy of the php.ini file from that XAMPP version so that I can see all the settings that are present? |
My existing settings are:
Even after turning on the Tried setting the timeout value in line 490 to 180 seconds up from 120 originally - also to no avail. Is this sql files data insertion line okay?
It appears that the Issue #16 is duplicated in the upgrade file as well. A manual import of |
SQL fixes in #28 should fix this issue too. Will test and revert. |
No joy. The following have been discerned:
As a consequence, the next two statements fail - |
The function that fails is:
This is since the When only a single database is chosen to be created during install, the values of the arguments passed to the above function call in Line 467 of
Furthermore, there is no check for successful completion on return from this function before the next one proceeds to update with the user preference data. Attempting to single-step into the |
Further fixes here result in error-free installation. |
Tim, can this issue be closed, fixed by #28 ? |
This issue was moved to a discussion.
You can continue the conversation there. Go to discussion →
Cannot login using PHP 5.3.1 in WinXPSP3.
Hangs at https://github.com/timschofield/webERP-svn/blob/master/includes/session.php#L39
The text was updated successfully, but these errors were encountered: