Results 1 to 10 of 10
  1. #1
    Join Date
    Jul 2012
    Posts
    11
    Plugin Contributions
    0

    Default Zancart not showing after server rebuild

    www.summitreks.com/shop is not showing after a sever rebuild. How do I start to find out why?

    .htaccess is in place (in /shop) as before:



    #### BOF SSU
    Options +FollowSymLinks -MultiViews

    RewriteEngine On

    RewriteBase /~streks/shop/

    # Deny access from .htaccess
    RewriteRule ^\.htaccess$ - [F]

    RewriteCond %{SCRIPT_FILENAME} !-f
    RewriteCond %{SCRIPT_FILENAME} !-d
    RewriteRule ^(.*) index.php?/$1 [E=VAR1:$1,QSA]

    #### EOF SSU

  2. #2
    Join Date
    Jul 2012
    Posts
    11
    Plugin Contributions
    0

    Default Re: Zancart not showing after server rebuild

    There is a debug script that may help identify the issue?

    http://64.191.49.69/~streks/shop/debug_script.php

  3. #3
    Join Date
    Jan 2007
    Location
    Australia
    Posts
    3,971
    Plugin Contributions
    1

    Default Re: Zancart not showing after server rebuild

    Quote Originally Posted by tomphillipspcs View Post
    www.summitreks.com/shop is not showing after a sever rebuild. How do I start to find out why?
    The server is now running PHP 5.3.

    Your version of zencart is not compatible with this and needs upgrading.

    http://www.zen-cart.com/showthread.p...t-for-v1-3-8-a

    Cheers
    Rod
    New support site for the ozpost shipping module now live!

  4. #4
    Join Date
    Jul 2012
    Posts
    11
    Plugin Contributions
    0

    Default Re: Zancart not showing after server rebuild

    Quote Originally Posted by RodG View Post
    The server is now running PHP 5.3.

    Your version of zencart is not compatible with this and needs upgrading.

    http://www.zen-cart.com/showthread.p...t-for-v1-3-8-a

    Cheers
    Rod
    I have tried this - taking a backup copy of each file and uploading the new versions

    I still get an error - but a different one

    http://www.summitreks.com/shop/xindex.php

    shows

    Fatal error: Call to undefined function zen_db_input() in /home/streks/public_html/shop/includes/functions/sessions.php on line 38

    and error log shows

    [09-Aug-2012 13:53:06 UTC] PHP Fatal error: Call to undefined function zen_db_input() in /home/streks/public_html/shop/includes/functions/sessions.php on line 38
    [09-Aug-2012 13:55:49 UTC] PHP Fatal error: Call to undefined function zen_db_input() in /home/streks/public_html/shop/includes/functions/sessions.php on line 38
    [09-Aug-2012 13:55:52 UTC] PHP Fatal error: Call to undefined function zen_db_input() in /home/streks/public_html/shop/includes/functions/sessions.php on line 38
    [09-Aug-2012 13:55:55 UTC] PHP Fatal error: Call to undefined function zen_db_input() in /home/streks/public_html/shop/includes/functions/sessions.php on line 38
    [09-Aug-2012 13:56:21 UTC] PHP Fatal error: Multiple access type modifiers are not allowed in /home/streks/public_html/shop/includes/classes/ssu/cores/parser.php on line 17
    [09-Aug-2012 13:57:12 UTC] PHP Fatal error: Multiple access type modifiers are not allowed in /home/streks/public_html/shop/includes/classes/ssu/cores/parser.php on line 17
    [09-Aug-2012 13:58:43 UTC] PHP Fatal error: Multiple access type modifiers are not allowed in /home/streks/public_html/shop/includes/classes/ssu/cores/parser.php on line 17
    [09-Aug-2012 14:04:19 UTC] PHP Fatal error: Multiple access type modifiers are not allowed in /home/streks/public_html/shop/includes/classes/ssu/cores/parser.php on line 17
    [09-Aug-2012 14:08:06 UTC] PHP Fatal error: Multiple access type modifiers are not allowed in /home/streks/public_html/shop/includes/classes/ssu/cores/parser.php on line 17



    I did also notice that there was not a file called - /includes/functions/functions_general.php

    there was /includes/functions/general.php - so I changed the new file name to that and over wrote it - is that correct?

    Any ideas how to procede from here?

  5. #5
    Join Date
    Jul 2012
    Posts
    11
    Plugin Contributions
    0

    Default Re: Zancart not showing after server rebuild

    And If I revert back to the old /includes/functions/general.php version I get this error:

    Fatal error: Cannot redeclare date_diff() in /home/streks/public_html/shop/includes/functions/functions_general.php on line 1476

  6. #6
    Join Date
    Jan 2004
    Posts
    58,289
    Blog Entries
    3
    Plugin Contributions
    106

    Default Re: Zancart not showing after server rebuild

    Quote Originally Posted by tomphillipspcs View Post
    Fatal error: Call to undefined function zen_db_input() in /home/streks/public_html/shop/includes/functions/sessions.php on line 38
    That means you're missing the code from the file where the zen_db_input function is declared.
    Quote Originally Posted by tomphillipspcs View Post
    Fatal error: Multiple access type modifiers are not allowed in /home/streks/public_html/shop/includes/classes/ssu/cores/parser.php on line 17
    That means you've got code for a module called "ssu" installed, but it isn't working correctly. Since it's not part of core Zen Cart code, might be wise to turn that thing off or remove the code for it, until you get the store running normally.
    Quote Originally Posted by tomphillipspcs View Post
    I did also notice that there was not a file called - /includes/functions/functions_general.php
    Um, there should be. You'll need to put that file on your server or things won't work properly.
    Quote Originally Posted by tomphillipspcs View Post
    there was /includes/functions/general.php - so I changed the new file name to that and over wrote it - is that correct?
    No, that's not correct.

    There should be the following files, both with DIFFERENT content, and different filenames. Don't mix them up, and don't exclude them from the folders they belong in:
    /includes/functions/functions_general.php
    /admin/includes/functions/general.php



    And you really shouldn't be using v1.3.8 anymore. It's both obsolete and has security problems.
    .

    Zen Cart - putting the dream of business ownership within reach of anyone!
    Donations always welcome: www.zen-cart.com/donate

    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.

  7. #7
    Join Date
    Jul 2012
    Posts
    11
    Plugin Contributions
    0

    Default Re: Zancart not showing after server rebuild

    Quote Originally Posted by DrByte View Post
    That means you've got code for a module called "ssu" installed, but it isn't working correctly. Since it's not part of core Zen Cart code, might be wise to turn that thing off or remove the code for it, until you get the store running normally..
    Thanks - just getting this error now

    Fatal error: Multiple access type modifiers are not allowed in /home/streks/public_html/shop/includes/classes/ssu/cores/parser.php on line 17


    how would I remove the module called "ssu" ?

  8. #8
    Join Date
    Jan 2004
    Posts
    58,289
    Blog Entries
    3
    Plugin Contributions
    106

    Default Re: Zancart not showing after server rebuild

    This is how I'd do it, since I don't know the answer off the top of my head either:

    1. Download the SSU module for the version of Zen Cart you're using
    2. Unzip it
    3. Look at all the files included in it, and those are the files to remove from your server.
    4. Keep in mind that some of those files might be replacements for original Zen Cart versions of those files, and thus you'll need to replace those files too, using original Zen Cart files for the version of Zen Cart you're using.

    But you're getting into delicate territory. Tread carefully.

    Remember, this is a good reason to keep the site software up to date regularly ;)
    .

    Zen Cart - putting the dream of business ownership within reach of anyone!
    Donations always welcome: www.zen-cart.com/donate

    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.

  9. #9
    Join Date
    Jul 2012
    Posts
    11
    Plugin Contributions
    0

    Default Re: Zancart not showing after server rebuild

    getting there now - I editing the line of code showing the error -

    now I get this warning error

    http://www.summitreks.com/shop/xindex.php

    Warning: I am able to write to the configuration file: /home/streks/public_html/shop/includes/configure.php. This is a potential security risk - please set the right user permissions on this file (read-only, CHMOD 644 or 444 are typical). You may need to use your webhost control panel/file-manager to change the permissions effectively. Contact your webhost for assistance.

    even a test chmod to 777 doesn't get rid of this warning?

  10. #10
    Join Date
    Jan 2004
    Posts
    58,289
    Blog Entries
    3
    Plugin Contributions
    106

    Default Re: Zancart not showing after server rebuild

    777 is writable. Lower numbers like 644 are more restrictive.
    .

    Zen Cart - putting the dream of business ownership within reach of anyone!
    Donations always welcome: www.zen-cart.com/donate

    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.

 

 

Similar Threads

  1. v139h PHP code showing on screen after moving to new server
    By 4jDesigns in forum Installing on a Linux/Unix Server
    Replies: 7
    Last Post: 12 Jun 2012, 11:31 AM
  2. Orders not showing after server upgrade
    By godin5150 in forum Installing on a Linux/Unix Server
    Replies: 4
    Last Post: 7 Nov 2011, 01:46 AM
  3. whos_online showing nobody, after moving to new server
    By imfsub12 in forum General Questions
    Replies: 0
    Last Post: 6 Aug 2010, 07:53 PM
  4. Some images not found after transfer from local server to host server
    By simon1066 in forum Installing on a Linux/Unix Server
    Replies: 2
    Last Post: 1 Apr 2009, 02:48 PM
  5. order not showing up after paypal payment after upgrade
    By ericw in forum General Questions
    Replies: 6
    Last Post: 25 May 2008, 06:54 PM

Bookmarks

Posting Permissions

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