Page 2 of 3 FirstFirst 123 LastLast
Results 11 to 20 of 21
  1. #11
    Join Date
    Sep 2010
    Posts
    13
    Plugin Contributions
    0

    Default Re: New Install on new server.

    The install im using is;

    zen-cart-v1.3.9f-full-fileset-08142010

  2. #12
    Join Date
    Sep 2010
    Posts
    13
    Plugin Contributions
    0

    Default Re: New Install on new server.

    Quote Originally Posted by DrByte View Post
    As per the installation instructions, you need to create a configure.php file in order to do an install.
    A sample dist-configure.php is provided, and you can safely rename it to configure.php if you don't already have a configure.php file on your server. You need to make it writable.
    Then zc_install will walk you through your server's settings, and build appropriate new contents for that file, based on your answers.
    Then it writes that content to the configure.php files.
    It has to write that content successfully or you won't be able to use the site.
    I have been following the installation instructions given with the .zip package, not the articles you are linking to. Can you give me a direct link to the installation instructions that show you how to setup the config.php file as at present renaming the dist- one's is obviously not working thus sending me in circles.

  3. #13
    Join Date
    Sep 2010
    Posts
    13
    Plugin Contributions
    0

    Default Re: New Install on new server.

    Can you copy/paste an example of your configure.php file or a demo one.

    From that Ill be able to figure out what needs to go in mine. Other than doing that I think im at lands end.

  4. #14
    Join Date
    Jan 2007
    Location
    Australia
    Posts
    6,167
    Plugin Contributions
    7

    Default Re: New Install on new server.

    Quote Originally Posted by Ste_1 View Post
    This is a new install. Infact I re-downloaded everything and re-uploaded it all last night.

    So do I need to upload direct to /htdocs or edit the config file to say its in /htdocs/catalogue. The config file that is named dist-config... from the oem package.

    Im following the instructions word for word.
    Actually you are giving us some conflicting information.

    In your first post you stated " I have set the dist-configure.php files to configure.php and set permissions to 777"
    .
    You now say it is a new install. One of those statments is incorrect, because new installations don't have the configure.php files until after the installation scripts have been run, and those scripts will provide the correct path information that prevents the errors you are now getting from occuring.

    Keep, don't modify the dist-configure.php files. Delete the configure.php files and take it from there....

  5. #15
    Join Date
    Sep 2010
    Posts
    13
    Plugin Contributions
    0

    Default Re: New Install on new server.

    On the homepage, i clicked download now. I downloaded the most recent version, I unzipped it. I then uploaded it.

    The files dist-configure.php are in the default download package, which I then renamed to configure.php, I haven't created them, I bought the web space only a few days ago! I can assure you this server has never had zen cart on it prior to me trying to get it on.

    If im not supposed to do anything with the dist-configure.php files how come the documention, to install from scratch, says;

    On the server locate the file: /catalog/includes/dist-configure.php
    Rename this file to configure.php and change the permissions to 777 (read-write-execute for all)

    Next, on the server locate the file: /catalog/admin/includes/dist-configure.php
    Rename this file to configure.php and change the permissions to 777 (read-write-execute for all)
    All im trying to do is get the installation going, I havent got past the;

    Hello. Thank you for loading Zen Cart™.
    You are seeing this page for one or more reasons:

    screen yet.


    So are you saying I need to put the dist-configure.php files, that I renamed to configure.php, back to dist-configure.php. Both files being under the directories /admin/includes and /includes/


    Sorry if im going in circles but im dead certain that im following the instructions as I should be.


    EDIT: I renamed to dist-configure.php now the Hello. Thank you for loading Zen.... page says "includes/configure.php not found"

  6. #16
    Join Date
    Jan 2007
    Location
    Australia
    Posts
    6,167
    Plugin Contributions
    7

    Default Re: New Install on new server.

    Quote Originally Posted by Ste_1 View Post
    The files dist-configure.php are in the default download package, which I then renamed to configure.php,
    Someone please correct me if I'm wrong, but you only need to copy/rename the configure.php file if moving from one server to another, correct?

    What I'm suggesting here is that you may be following the wrong instructions.. (just tossing out possible ideas)

    Quote Originally Posted by Ste_1 View Post
    I haven't created them, I bought the web space only a few days ago! I can assure you this server has never had zen cart on it prior to me trying to get it on.
    I've no doubt about the truth of this, BUT, let us assume you made some major mistake with the first configure.php, which gets uploaded to the server.. Now let us assume on your second upload attempt you did what I beleive to be the right thing (not mess/touch the dist-configure.php file) and performed the upload to the same location, telling it to overwite files, it WON'T overwrite the faulty configure.php file because there wouldn't be a new one to overwrite it with... So, when you load the cart for the first time now, instead of creating the new configure.php files it is still using the old one from the first attempt.

    What I'm really saying here is that it is very easy to go around and around in circles without really understanding why. Now, I can't tell you where you went wrong, if indeed it was your error in the first place, but I can (hopefully) get you the 'break the loop' so you can sit back, look at where you are, and hopefully get you back on track.. I know I made 2 too many assumptions above, but hopefully it shows how even a 'completely fresh install' may not be a fresh or complete as you think it is. (been there, done that).

    Quote Originally Posted by Ste_1 View Post
    So are you saying I need to put the dist-configure.php files, that I renamed to configure.php, back to dist-configure.php. Both files being under the directories /admin/includes and /includes/
    In a word, yes.. err, chanfe that.. no... ...
    If this were a site *I* was working on I wouldn't have renamed 'em in the first place, I would have made a copy, using the name 'configure.php' instead ... This way, if things went wrong, and they will,all I'd need do is delete the configure.php files and start afresh (the original dist-configure.php forever remaining untouched).

    You however have renamed the files (as instructed) and something went amiss.. We don't know what, it doesn't matter.. but it was probable that the 'new' configure files were modified when first accessed by the browser, so if you rename them back to dist-configure now, you will be creating a new broken dist-configure file... so once again another circle of errors. .

    Quote Originally Posted by Ste_1 View Post
    Sorry if im going in circles but im dead certain that im following the instructions as I should be.
    Many people install first time without a problem, occasionally something goes amiss and it is very very easy to get caught by the many possible circles of errors... IOW, don't feel bad about it.

    As for following the instructions, they are excellent to a point, but the do assume a 'known' starting point .. and your starting point is current in the middle of one of these circles..

    Quote Originally Posted by Ste_1 View Post
    EDIT: I renamed to dist-configure.php now the Hello. Thank you for loading Zen.... page says "includes/configure.php not found"
    To be expected... you have deleted (by re-renaming the dist-configure.php file) the configure.php file, and the dist-configure.php file has been made unusable because it is a modified copy rather than the original.

    What you NOW need to do is delete all the the configure and dist-configure files from your server and replace them with unmodified copied from the original zencart distribution files.

    OTOH, you might want to just consider starting afresh, again.. Yeah, a pain, but before doing so ensure you remove every sign of zencart on the server... don't try to overwrite files, and don't use a different directory each time you make a new attempt (this is a huge tempation for many people, all it does is confuse things like file locations even more).

    Good luck.... I'm outa here for the night...

    Cheers
    rod

  7. #17
    Join Date
    Jan 2004
    Posts
    66,445
    Plugin Contributions
    81

    Default Re: New Install on new server.

    Apologies for giving you the link to the "move to a new server" instructions. Somehow in the midst of hundreds of posts I read your post as "move to new server" instead of "new install".

    Regardless, the instructions for installing a new install are exactly as the documentation says, and that's the same as what I posted to you earlier:
    Quote Originally Posted by DrByte View Post
    As per the installation instructions, you need to create a configure.php file in order to do an install.
    A sample dist-configure.php is provided, and you can safely rename it to configure.php if you don't already have a configure.php file on your server. You need to make it writable.
    Then zc_install will walk you through your server's settings, and build appropriate new contents for that file, based on your answers.
    Then it writes that content to the configure.php files.
    It has to write that content successfully or you won't be able to use the site.
    When I say you need to "create a configure.php file", I mean: the installer CANNOT make the file for you. It can only replace the contents of an existing file.
    THAT is why the dist-configure.php file is provided. ALL you need to do is rename dist-configure.php to configure.php, and make the file writable.
    Then zc_install takes care of the rest.

    So, starting from there, what are you confused about?
    .

    Zen Cart - putting the dream of business ownership within reach of anyone!
    Donate to: DrByte directly or to the Zen Cart team as a whole

    Remember: Any code suggestions you see here are merely suggestions. You assume full responsibility for your use of any such suggestions, including any impact ANY alterations you make to your site may have on your PCI compliance.
    Furthermore, any advice you see here about PCI matters is merely an opinion, and should not be relied upon as "official". Official PCI information should be obtained from the PCI Security Council directly or from one of their authorized Assessors.

  8. #18
    Join Date
    Sep 2010
    Posts
    13
    Plugin Contributions
    0

    Default Re: New Install on new server.

    I wouldn't say im confused, what you have all contributed is spot on and has helped me gain further understanding. I just think its fudged. I have followed the instructions word for word again this morning starting a fresh and still have the same screen.

    I have logged a support call with my webhost as tbh im convinced im not doing anything wrong. Or whatever is going wrong isn't down to me being misguided.

    The fresh install (zen-cart-v1.3.9f-full-fileset-08142010.zip downloaded from sourceforge via the link on zen-cart.com)was uploaded to htdocs/catalogue/

    the files are all set to 644 and the folders all to 755.

    Except for;

    catalogue/cache - 777
    catalogue/images (including all sub dirs) - 777
    catalogue/media - 777
    catalogue/pub - 777

    And;

    catalogue/admin/includes/ configure.php - 777
    catalogue/includes/ configure.php - 777

    (the oem dist-configure.php files renamed to configure.php)


    I mean if you would like to double check my working and have a look on the ftp site yourself that's fine with me, i can create a password for you, and as its a fresh server there's nothing on there that can't be put back in seconds.

    My next step, if the webhost says everythings fine, is shoot myself. No lol Im going to have a go at putting the entries in the configure.php file myself as I have all the info needed. I just don't know the format so ill have to dig for a completed install configure.php file to reference.
    Last edited by Ste_1; 17 Sep 2010 at 11:07 AM.

  9. #19
    Join Date
    Sep 2010
    Posts
    13
    Plugin Contributions
    0

    Default Re: New Install on new server.

    Ok so I have been told this;

    We do not support Order and DirectoryIndex

    Our htaccess file only support mod_rewrite codes.
    Hosted with streamline, anyone know if there's anything I can do?

  10. #20
    Join Date
    Jan 2004
    Posts
    66,445
    Plugin Contributions
    81

    Default Re: New Install on new server.

    If they won't let you use the protections in the .htaccess files, then you may as well delete the .htaccess files, since they're useless to you. But, that means you leave yourself open to fraudsters and hackers. Even as just a test/demo site.

    Better to use a host that supports contemporary security capability for your advanced ecommerce site.

    But that still doesn't explain why the installer isn't able to write the configure.php file updates properly. But, it might be an indicator that there are other incompatibilities between your hosting company and the advanced capabilities of the Zen Cart code.
    .

    Zen Cart - putting the dream of business ownership within reach of anyone!
    Donate to: DrByte directly or to the Zen Cart team as a whole

    Remember: Any code suggestions you see here are merely suggestions. You assume full responsibility for your use of any such suggestions, including any impact ANY alterations you make to your site may have on your PCI compliance.
    Furthermore, any advice you see here about PCI matters is merely an opinion, and should not be relied upon as "official". Official PCI information should be obtained from the PCI Security Council directly or from one of their authorized Assessors.

 

 
Page 2 of 3 FirstFirst 123 LastLast

Similar Threads

  1. New server install questions
    By ride22 in forum Installing on a Linux/Unix Server
    Replies: 7
    Last Post: 28 Jun 2011, 03:00 AM
  2. New install on a linux server
    By heben in forum Installing on a Linux/Unix Server
    Replies: 3
    Last Post: 7 Nov 2009, 01:17 PM
  3. Replies: 5
    Last Post: 8 Oct 2009, 07:50 AM
  4. New install to Linux Server
    By eccotec in forum Installing on a Linux/Unix Server
    Replies: 2
    Last Post: 13 Aug 2009, 08:06 PM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
disjunctive-egg