Zen Cart Logo
Forums / Installing on a Linux/Unix Server / Server Free Disk Space Error on Installation

Server Free Disk Space Error on Installation

Locked

Views: 3,043

Results 1 to 17 of 17
This thread is locked. New replies are disabled.
27 Mar 2007, 11:27 PM
#1
garage_dude avatar

garage_dude

New Zenner

Join Date:
Mar 2007
Posts:
8
Plugin Contributions:
0

Server Free Disk Space Error on Installation

I have just uploaded ZEN Cart 1.3.7 to my ISP (Namescout) server in the /estore folder and tried to run the installation /estore/zc_install and receive a Red Cross against "Server Free Disk Space = -1017.34 GB"

Can anyone help? It's becoming very fustrating....

27 Mar 2007, 11:35 PM
#2
garage_dude avatar

garage_dude

New Zenner

Join Date:
Mar 2007
Posts:
8
Plugin Contributions:
0

Re: Server Free Disk Space Error on Installation

[quote=Garage.Dude;349553]I have just uploaded ZEN Cart 1.3.7 to my ISP (Namescout) server in the /estore folder and tried to run the installation /estore/zc_install and receive a Red Cross against "Server Free Disk Space = -1017.34 GB"

Can anyone help? It's becoming very fustrating....

I have re-ftp'd the files a number of times with different ftp programs without success.

I have set the correct permissions of 777 on the specific folders without success.

The ISP claims that they have other clients using ZEN Cart so it should work with their server platform versions / software.

28 Mar 2007, 2:00 AM
#3
drbyte avatar

drbyte

Sensei

Join Date:
Jan 2004
Posts:
63,513
Plugin Contributions:
177

Re: Server Free Disk Space Error on Installation

Your hosting server's PHP setup is reporting the negative disk space.
Sorry, there's nothing we can do to change that.
I suspect it can be ignored because in your case the number is too wacky to be an accurate representation of available disk space.

If you proceed with installation, does it work?

I'd be more concerned about the PHP API Mode being CGI ...

28 Mar 2007, 2:44 AM
#4
garage_dude avatar

garage_dude

New Zenner

Join Date:
Mar 2007
Posts:
8
Plugin Contributions:
0

Re: Server Free Disk Space Error on Installation

DrByte:

Your hosting server's PHP setup is reporting the negative disk space.
Sorry, there's nothing we can do to change that.
I suspect it can be ignored because in your case the number is too wacky to be an accurate representation of available disk space.

If you proceed with installation, does it work?

I'd be more concerned about the PHP API Mode being CGI ...

Nope.

If I continue the installation program returns to the Welcome start page. It does not continue with the installation and does not complete.

28 Mar 2007, 3:56 AM
#5
garage_dude avatar

garage_dude

New Zenner

Join Date:
Mar 2007
Posts:
8
Plugin Contributions:
0

Re: Server Free Disk Space Error on Installation

Nope.

If I continue the installation program returns to the Welcome start page. It does not continue with the installation and does not complete.

28 Mar 2007, 4:13 AM
#7
drbyte avatar

drbyte

Sensei

Join Date:
Jan 2004
Posts:
63,513
Plugin Contributions:
177

Re: Server Free Disk Space Error on Installation

As a workaround, try this:

edit /zc_install/includes/modules/pages/inspect/header_php.php
starting line 143:```
$disk_freespaceGB=round(@diskfreespace($path_trans)/1024/1024/1024,2);
$disk_freespaceMB=round(@diskfreespace($path_trans)/1024/1024,2);


change to:```
    $disk_freespaceGB=abs(round(@disk_free_space($path_trans)/1024/1024/1024,2));
    $disk_freespaceMB=abs(round(@disk_free_space($path_trans)/1024/1024,2));
28 Mar 2007, 4:34 AM
#8
garage_dude avatar

garage_dude

New Zenner

Join Date:
Mar 2007
Posts:
8
Plugin Contributions:
0

Re: Server Free Disk Space Error on Installation

The change to header_php.php removes the red cross from the Server Free Disk space but when continuing it still flips me back to the Welcome screen.

No go. Still cannot install.

28 Mar 2007, 4:46 AM
#9
drbyte avatar

drbyte

Sensei

Join Date:
Jan 2004
Posts:
63,513
Plugin Contributions:
177

Re: Server Free Disk Space Error on Installation

You said it keeps going back to the main page?

Please check that all the files/folders in the /zc_install/includes/modules folder and subfolders have been uploaded properly.

Sometimes uploads fail and aren't recovered properly, and sometimes left with zero-byte files, etc.

I realize you said you've already re-ftp'd files, but .. the fact that it's going back to the main page suggests that something's missing...

28 Mar 2007, 5:09 AM
#10
drbyte avatar

drbyte

Sensei

Join Date:
Jan 2004
Posts:
63,513
Plugin Contributions:
177

Re: Server Free Disk Space Error on Installation

A couple other thoughts:

  • For your server, you might also need to rename the /zc_install/.htaccess file to htaccess_off

  • and it's possible that your server's configuration doesn't like the longer URLs generated during installation. This is more complicated to work around.

  • do you have any ability to have your host change your PHP mode to ISAPI instead of running as CGI ? This could be the cause of the problems ...

28 Mar 2007, 6:41 AM
#11
garage_dude avatar

garage_dude

New Zenner

Join Date:
Mar 2007
Posts:
8
Plugin Contributions:
0

Re: Server Free Disk Space Error on Installation

Thanks for the suggestion.

I have re-ftp'd and checked the file size and timestamp of every single file but still no go...

This is really giving me the .....

I'm using WS_FTP Pro and FileZilla to upload and both don't report any errors on upload.

What else can I try.... or can I get you to upload it for me if I gave you the permissions?

28 Mar 2007, 7:06 AM
#12
drbyte avatar

drbyte

Sensei

Join Date:
Jan 2004
Posts:
63,513
Plugin Contributions:
177

Re: Server Free Disk Space Error on Installation

Is your server's errorlog reporting any errors ?

Are you able to get your PHP switched from CGI to ISAPI mode ?

28 Mar 2007, 7:26 AM
#13
garage_dude avatar

garage_dude

New Zenner

Join Date:
Mar 2007
Posts:
8
Plugin Contributions:
0

Re: Server Free Disk Space Error on Installation

Thanks for the suggestions.

htaccess_off doesn't work.

I've ask the ISP about changing it to ISAP so hopefully they come back soon.

How about I give you access to my ftp site and you upload it for me. I can't think of anything else to try.

I might have to go with a paid for shopping cart software....argh!!!!

28 Mar 2007, 7:46 AM
#14
drbyte avatar

drbyte

Sensei

Join Date:
Jan 2004
Posts:
63,513
Plugin Contributions:
177

Re: Server Free Disk Space Error on Installation

Garage.Dude:

T
I might have to go with a paid for shopping cart software....argh!!!!

... or perhaps different hosting designed for ecommerce ...

29 Mar 2007, 7:44 AM
#15
garage_dude avatar

garage_dude

New Zenner

Join Date:
Mar 2007
Posts:
8
Plugin Contributions:
0

Re: Server Free Disk Space Error on Installation

Hi Doc

The ISP said they won't change it from CGI to ISAP and the rename of the file to htaccess_off didn't work.

Do you have anymore suggestions? Do you know of which ISP ZEN Cart definitely works with? I may change to that ISP.

29 Mar 2007, 7:47 AM
#16
drbyte avatar

drbyte

Sensei

Join Date:
Jan 2004
Posts:
63,513
Plugin Contributions:
177

Re: Server Free Disk Space Error on Installation

At the very top of this page is a link called "hosting". There you'll find a number of recommended hosts which have tuned their servers to work with eCommerce activity, especially Zen Cart.

I'm sorry to see the trouble you've been having.
I encountered a similar loop problem on a shared server a while ago, but renaming the .htaccess file was all that was needed in that case.

30 Mar 2007, 8:14 AM
#17
drbyte avatar

drbyte

Sensei

Join Date:
Jan 2004
Posts:
63,513
Plugin Contributions:
177

Re: Server Free Disk Space Error on Installation

With further research, it appears as though the inner pages are losing big portions of the $_GET information supplied on the URL. Almost like it's being sanitized and stripped out rather than passed through to the script properly.

(It's a good thing the installer is being rewritten to use $_POST for v1.4 ...)