I just installed v2.04.14, and the installation went fine, but when I tried to access the Admin page (which I renamed for security purposes and changed in config.local.php file), I get this error:
This might occur if you open a page that is redirected to open another page which then is redirected to open the original page.[/QUOTE]
My host is Godaddy, and they said it was most likely a problem with the CS code. I emailed CS tech support a few days ago, but have yet to hear back. From what I can find on the issue, the problem might be caused by Godaddy throttling their servers and setting session cookies, or it might have to do with the curl settings. Does anyone know what I can do to fix the problem? I’ve installed CS Cart on a different host before, and did not have this problem.
Thanks, but unfortunately I get a 500 server error when I try to add any of that code to my htaccess file. I tried adding it to the php.ini file, like this:
allow_call_time_pass_reference = on
but it had no effect. Here is what was in my php.ini file:
I just noticed that “Scan this dir for additional .ini files” is set to “none”, so I don’t think that ini file is even getting read. EDIT: I got it to read the file by renaming it to php5.ini. However, it still has no effect with the added allow_call_time_pass_reference variable.
[quote name=‘indy0077’]Was it working before with the original admin.php file? What are the permissions of your config.local.php, admin and index file?[/QUOTE]
No, it never worked. Even if I try naming it back to just admin.php, and setting all the permissions to 777, it still doesn’t work. My current permissions are:
config.local.php 644
admin.php 704
index.php 604
The index loads fine.
Do you think the problem might have something to do with Godaddy’s proxy settings?
[quote name=‘sarah77’]No, it never worked. Even if I try naming it back to just admin.php, and setting all the permissions to 777, it still doesn’t work. My current permissions are:
config.local.php 644
admin.php 704
index.php 604
The index loads fine.[/quote]
Ok, then first you have to contact your provider and ask them to reset the files ownership.
I don’t know your server configuration, but generally you should use 644 for files and 755 for folders except folders which need to be writable.
Then I would delete the tables in the database and re-install the cart (maybe it might be worth to reupload all files to your server as well before the installation).
[quote name=‘indy0077’]Ok, then first you have to contact your provider and ask them to reset the files ownership.
I don’t know your server configuration, but generally you should use 644 for files and 755 for folders except folders which need to be writable.
Then I would delete the tables in the database and re-install the cart (maybe it might be worth to reupload all files to your server as well before the installation).[/QUOTE]
Why would I need godaddy to rest the files ownership? I don’t think it’s a permissions problem. Like I said, even at everything set to 777, it still doesn’t work. I’m not ready to re-install everything yet. I’m still waiting to hear back from CS-Cart tech support. If I don’t hear back from them by tomorrow, I guess I’ll start all over.
[quote name=‘sarah77’]Why would I need godaddy to rest the files ownership? I don’t think it’s a permissions problem. Like I said, even at everything set to 777, it still doesn’t work. I’m not ready to re-install everything yet. I’m still waiting to hear back from CS-Cart tech support. If I don’t hear back from them by tomorrow, I guess I’ll start all over.[/quote]
Oh so, I thought that you can’t set the name back to admin.php. BTW if it’s once installed you don’t have to set the permissions to 777. That’s absolutelly wrong.
[quote name=‘indy0077’]Oh so, I thought that you can’t set the name back to admin.php. BTW if it’s once installed you don’t have to set the permissions to 777. That’s absolutelly wrong.[/QUOTE]
Well you thought it might be a permissions problem, so I changed all the files you mentioned to 777 just to make sure that wasn’t the problem. I changed everything back to the way I had it.
Do you know if there is a file I can edit to change the proxy settings? Apparently Godaddy has special settings according to these sites:
[quote name=‘sarah77’]Thanks, I found it, and will try it.
EDIT: That had no effect.[/quote]
Then I see only two ways: reupload and reinstall the cart, if it won’t work then it should be in the php (server) settings. The cart works well on other servers, then I don’t see any reason.