11-Mar-2015, 07:54 PM
This is the community forum. For a developer response use the Client Area.
11-Mar-2015, 08:33 PM
Okay so when you visit the very first page of the installer (/upload/installer/index.php) it starts the session on line 25:
PHP Code:
<?php
session_start();
Then further down, on line 101, it does the following:
PHP Code:
<?php
if (session_id() != '') {
$_SESSION['cmtx_session_test'] = '1';
}
That checks whether the session has an ID (which it should) and if it does then it sets the variable 'cmtx_session_test' into the session with a value of '1'.
Then on the System Check page (/upload/installer/system.php), it starts the session on line 25 (same as before). Then on line 121 it does the following:
PHP Code:
<?php
if (session_id() != '') {
if (isset($_SESSION['cmtx_session_test']) && $_SESSION['cmtx_session_test'] == '1') {
That checks the session has an ID (same as before) and if it does then it checks whether the variable 'cmtx_session_test' is in the session and that its value is '1'.
So what I'd do is add some debugging code to find out where it's going wrong. On the line before the code above, add the following to see what it outputs.
PHP Code:
<?php
var_dump(session_id());
var_dump($_SESSION);
If you're certain that the session functionality is working on your server and it's an error with the installer then you can skip the System Check page by going to the URL /upload/installer/menu.php.
11-Mar-2015, 08:52 PM
Thank you for the quick response.
I have tried as you suggested and got string(0) "" NULL
I was able to bypass by just going to menu.php and the rest installed correctly but i notice that when trying to log in it would just reload the login page.
I have tried as you suggested and got string(0) "" NULL
I was able to bypass by just going to menu.php and the rest installed correctly but i notice that when trying to log in it would just reload the login page.
11-Mar-2015, 08:54 PM
Sorry for double post.
Our one site is running on GoDaddy and we have had lots of issues.
I have another server on bluehost which is where the database is anyway..
So can i install on my bluehost server
and have the pages I am going to use commentics on the my Godaddy server?
Played with php version and now getting Fatal error: Allowed memory size of 134217728 bytes exhausted (tried to allocate 450177920 bytes) in ç´ on line 0
Our one site is running on GoDaddy and we have had lots of issues.
I have another server on bluehost which is where the database is anyway..
So can i install on my bluehost server
and have the pages I am going to use commentics on the my Godaddy server?
Played with php version and now getting Fatal error: Allowed memory size of 134217728 bytes exhausted (tried to allocate 450177920 bytes) in ç´ on line 0
12-Mar-2015, 09:54 PM
Okay so sessions are definitely not working on your site. That's a basic feature any host should provide so that's something they're obliged to fix.
In theory yes it's possible to set it up like that using a remote database connection although both hosts would need to allow it (some don't for security reasons). It's not a topic that I can help much with but there are plenty of good tutorials if you're not sure how to do it.
In theory yes it's possible to set it up like that using a remote database connection although both hosts would need to allow it (some don't for security reasons). It's not a topic that I can help much with but there are plenty of good tutorials if you're not sure how to do it.
« Next Oldest | Next Newest »
Possibly Related Threads…
Thread / Author
Replies
Views
Last Post
Users browsing this thread: 1 Guest(s)