Zen Cart Logo
Forums / Installing on a Linux/Unix Server / Corrupted URL during install on Zeus

Corrupted URL during install on Zeus

Locked

Views: 3,160

Results 1 to 14 of 14
This thread is locked. New replies are disabled.
29 Aug 2007, 4:38 PM
#1
spiderden avatar

spiderden

New Zenner

Join Date:
Feb 2007
Location:
Kenley, Surrey, UK
Posts:
6
Plugin Contributions:
0

Corrupted URL during install on Zeus

Hi

I've previously installed Zen about a dozen times without a hitch, but the last two times I've had the same problem on the same server. V1.3.7

I get as far as the server settings page then when I click "Save System Settings" I get a 404 error and the URL used is this

http://www.xxxx.com/&virtual_https_path=https://www.XXXX.com/&virtual_https_server=https://www.XXXX.com&enable_ssl=false&enable_ssl_admin=false&sql_cache=/content/DesignerPlus/r/a/www.XXXX.com/web/cache&is_upgrade=

which is obviously wrong.

I deleted all .htaccess files and set all direcctory permisions to 777 but the problem still persists no matter what server settings I use.

The previous time this happened, I created new config files using another cart as a template to get past the problem but would lke to avoid having to do this in future.

This is on a Zeus server with five other Zen installations running smootly. It is only the last two that have caused a problem during installation. I recently installed on an Apache server without a hitch so I know the fileset isn't corrupted.

Logic would suggest that a setting has been changed on the server since my previous installations, what can it be that would cause this sort of problem with an installation but leave exiring installs running fine?

29 Aug 2007, 4:43 PM
#2
ajeh avatar

ajeh

Oba-san

Join Date:
Sep 2003
Location:
Ohio
Posts:
62,757
Plugin Contributions:
1

Re: Corrupted URL during install on Zeus

NOTE: v1.3.7.1 is the current version of Zen Cart
http://www.zen-cart.com/forum/showthread.php?t=69769

Sounds like your configure.php files are incorrect on the server ...
/includes/configure.php
/admin/includes/configure.php

3 Sep 2007, 8:09 PM
#3
ianhg avatar

ianhg

Zen Follower

Join Date:
Jul 2007
Posts:
345
Plugin Contributions:
3

Re: Corrupted URL during install on Zeus

Hi
I am having the same problem --- I have already installed a zen cart on the domain name and am trying to install a second one which will have a prefix to the tables and will be in a different folder.
However I am unable to get past system set up as described above. Install is also on Zeus.
Any suggestions most welcome, thanks

3 Sep 2007, 11:09 PM
#4
spiderden avatar

spiderden

New Zenner

Join Date:
Feb 2007
Location:
Kenley, Surrey, UK
Posts:
6
Plugin Contributions:
0

Re: Corrupted URL during install on Zeus

Ajeh:

Sounds like your configure.php files are incorrect on the server ...
/includes/configure.php
/admin/includes/configure.php

This is happening during installation so the config files haven't been created yet.

4 Sep 2007, 12:00 AM
#5
spiderden avatar

spiderden

New Zenner

Join Date:
Feb 2007
Location:
Kenley, Surrey, UK
Posts:
6
Plugin Contributions:
0

Re: Corrupted URL during install on Zeus

ianhg:

Hi
I am having the same problem --- I have already installed a zen cart on the domain name and am trying to install a second one which will have a prefix to the tables and will be in a different folder.
However I am unable to get past system set up as described above. Install is also on Zeus.
Any suggestions most welcome, thanks

If you want a quick fix, then use the config files from your other ZC installation as a template and fill in the MySQL fields by hand, then install the SQL from the zc_install directory using phpMyAdmin. This will get your cart up and running.

It will bypass the problem, but it doesn't explain why the URL is being corrupted in the first place.

4 Sep 2007, 2:28 AM
#6
Kim avatar

Kim

Obaa-san

Join Date:
Jun 2003
Location:
West Coast, North America
Posts:
26,616
Plugin Contributions:
0

Re: Corrupted URL during install on Zeus

Have you reported this problem to your server admin?

4 Sep 2007, 8:44 AM
#7
ianhg avatar

ianhg

Zen Follower

Join Date:
Jul 2007
Posts:
345
Plugin Contributions:
3

Re: Corrupted URL during install on Zeus

Hi
Thanks for the replies. I have not reported it to the server folk as yet, but normally they wash their hands saying it's third party problem :shocking: I am helping someone else so I don't particular know the support team.

As far as loading another site by hand and coping the config files etc I have tried that but I had several php errors, so I could try that again. But it still does not explain why it does not work, guess I will need to talk to the support team.
Appreciate the comments thanks.

4 Sep 2007, 11:43 AM
#8
chuckl avatar

chuckl

Totally Zenned

Join Date:
Nov 2006
Location:
Papworth, Cambridgeshire, UK
Posts:
717
Plugin Contributions:
0

Re: Corrupted URL during install on Zeus

Are you enabling SSL during your install?
The badly formed url seems to be invoking a virtual secure server, and falling over in the process.
I've always found it a very bad idea to enable https at install time. Much better to get the installation up and working in vanilla http before adding the bells and whistles.

5 Sep 2007, 8:10 AM
#9
ianhg avatar

ianhg

Zen Follower

Join Date:
Jul 2007
Posts:
345
Plugin Contributions:
3

Re: Corrupted URL during install on Zeus

Hi Thanks for that you are correct about the virtual secure server as the hosting is on a cluster. ( I think that's the correct term)
I have tried not including the SSL but to date no luck. Do you think it would be ok to leave the https blank or put in just the domain name?
Thanks for your advice.

5 Sep 2007, 8:38 AM
#10
chuckl avatar

chuckl

Totally Zenned

Join Date:
Nov 2006
Location:
Papworth, Cambridgeshire, UK
Posts:
717
Plugin Contributions:
0

Re: Corrupted URL during install on Zeus

During the install, you get the option to enable/use SSl on, I think, the server setup page. It's always a good idea to say no there so that the configure.php files have ENABLE_SSL set to false. Essentially, go as vanilla as possible, disable ssl, disable cache etc etc, and see if that works for the install
The url is being truncated it seems, is there perhaps some Zeus setting that limits url lengths?

6 Sep 2007, 8:36 AM
#11
ianhg avatar

ianhg

Zen Follower

Join Date:
Jul 2007
Posts:
345
Plugin Contributions:
3

Re: Corrupted URL during install on Zeus

Thanks tried that and it still will not play. The last install on the same server went well, strange I will have to get the folk I am helping to talk to the hosting company. Your help and advice is appreciated thanks again.

6 Sep 2007, 12:57 PM
#12
hbtechguy avatar

hbtechguy

New Zenner

Join Date:
Sep 2007
Location:
Australia, Sydney
Posts:
23
Plugin Contributions:
0

Re: Corrupted URL during install on Zeus

Hi Spiderden,

can you tell me how to delete the .htaccess file of the server? what progam do you use, cause i can see hidden files on the ftp

spiderden:

Hi

I've previously installed Zen about a dozen times without a hitch, but the last two times I've had the same problem on the same server. V1.3.7

I get as far as the server settings page then when I click "Save System Settings" I get a 404 error and the URL used is this

http://www.xxxx.com/&virtual_https_path=https://www.XXXX.com/&virtual_https_server=https://www.XXXX.com&enable_ssl=false&enable_ssl_admin=false&sql_cache=/content/DesignerPlus/r/a/www.XXXX.com/web/cache&is_upgrade=

> which is obviously wrong.
>  
> I deleted all .htaccess files and set all direcctory permisions to 777 but the problem still persists no matter what server settings I use.
>  
> The previous time this happened, I created new config files using another cart as a template to get past the problem but would lke to avoid having to do this in future.
>  
> This is on a Zeus server with five other Zen installations running smootly. It is only the last two that have caused a problem during installation. I recently installed on an Apache server without a hitch so I know the fileset isn't corrupted.
>  
> Logic would suggest that a setting has been changed on the server since my previous installations, what can it be that would cause this sort of problem with an installation but leave exiring installs running fine?
8 Nov 2007, 10:42 AM
#13
spiderden avatar

spiderden

New Zenner

Join Date:
Feb 2007
Location:
Kenley, Surrey, UK
Posts:
6
Plugin Contributions:
0

Re: Corrupted URL during install on Zeus

hbtechguy:

Hi Spiderden,

can you tell me how to delete the .htaccess file of the server? what progam do you use, cause i can see hidden files on the ftp

You can use your FTP client to delete .htaccess files. I use WS_FTP or WinSCP. You may need to set the "-a" attribute in WS_FTP to see the .htaccess files in the first place though.

8 Nov 2007, 10:55 AM
#14
spiderden avatar

spiderden

New Zenner

Join Date:
Feb 2007
Location:
Kenley, Surrey, UK
Posts:
6
Plugin Contributions:
0

Re: Corrupted URL during install on Zeus

I found the cause of this problem. I noticed that the difference between the domains that Zen installed ok on and those that it didn't was the age of the hosting.

PHP had been rebuilt on the server, those domains that had been hosted since before the rebuild were affected, those created after the rebuild were fine.

To fix the problem, I simply deleted the older hosting, recreated it and installed Zen.

It's still odd that this problem only apears to affect Zen during installation and not while running though. To be on the safe side, I think I'll recreate the hosting and reinstall Zen on all the older stores in case of any future problems.