Page 2 of 3 FirstFirst 123 LastLast
Results 11 to 20 of 22
  1. #11
    Join Date
    Jan 2007
    Location
    Australia
    Posts
    6,167
    Plugin Contributions
    7

    Default Re: shipping rates no longer work

    Quote Originally Posted by evilonion View Post
    [CODE][15-Jun-2013 17:20:52 Europe/London] PHP Parse error: syntax error, unexpected '<' in /home/fireside/public_html/2013update/includes/languages/english/extra_definitions/elegancer_pink/footer_menu_defines.php on line 50
    This looks like you have one or more 'corrupted' files. The error above is the 1st error you'll need to take care of, which may or may not take care of the errors that follow (these things have a cascading effect).

    You'll need to work through the error messages one at a time 'cos you may have more than one problem.

    Cheers
    Rod

  2. #12
    Join Date
    Feb 2010
    Posts
    68
    Plugin Contributions
    0

    Default Re: shipping rates no longer work

    the first one would be my error as i was trying to comment out some of the template parts like twitter etc.
    i have removed the code i added so that should work now.

    As for the second im not sure how to fix that?

    this is the error:

    Code:
    [15-Jun-2013 17:20:52 Europe/London] PHP Warning:  require(includes/classes/db/mysql/query_factory.php) [<a href='function.require'>function.require</a>]: failed to open stream: No such file or directory in /home/fireside/public_html/2013update/includes/functions/sessions.php on line 54
    [15-Jun-2013 17:20:52 Europe/London] PHP Warning:  require(includes/classes/db/mysql/query_factory.php) [<a href='function.require'>function.require</a>]: failed to open stream: No such file or directory in /home/fireside/public_html/2013update/includes/functions/sessions.php on line 54
    [15-Jun-2013 17:20:52 Europe/London] PHP Fatal error:  require() [<a href='function.require'>function.require</a>]: Failed opening required 'includes/classes/db/mysql/query_factory.php' (include_path='.:/usr/lib/php:/usr/local/lib/php') in /home/fireside/public_html/2013update/includes/functions/sessions.php on line 54
    and this is the code for that part:

    Code:
      function _sess_write($key, $val) {
        global $db;
        if (!is_object($db)) {
          //PHP 5.2.0 bug workaround ...
          if (!class_exists('queryFactory')) require('includes/classes/db/' .DB_TYPE . '/query_factory.php');
          $db = new queryFactory();
          $db->connect(DB_SERVER, DB_SERVER_USERNAME, DB_SERVER_PASSWORD, DB_DATABASE, USE_PCONNECT, false);
        }
        $val = base64_encode($val);

  3. #13
    Join Date
    Feb 2010
    Posts
    68
    Plugin Contributions
    0

    Default Re: shipping rates no longer work

    ok it wouldnt be too much hassle for me to build this site again.
    I can create a completely new, empty database and link the site to it...
    This 'should' solve the issues as the database would be clean...

    Is there a way for me to move all the customer and order information over though?
    The main thing for me is to move this data across as there are over 5000 current customers and orders that i would need to keep.

    Things like the added ezpages etc i would just have to manually recreate.

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

    Default Re: shipping rates no longer work

    Quote Originally Posted by evilonion View Post
    this is the error:

    PHP Warning: require(includes/classes/db/mysql/query_factory.php) * No such file or directory *
    Question#1. Do you have a file called "query_factory.php" in the folder called "includes/classes/db/mysql/query_factory.php"

    If not, where is it, and why isn't it where it should be? Didn't get uploaded perhaps?

    If this file does exist, what are its file permissions?

    The code snippet you gave was from the file that is trying to load the missing file (/includes/functions/sessions.php is fine. query_factory.php is the missing/unreadable one).

    Cheers
    Rod

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

    Default Re: shipping rates no longer work

    Quote Originally Posted by evilonion View Post
    ok it wouldnt be too much hassle for me to build this site again.
    I can create a completely new, empty database and link the site to it...
    This 'should' solve the issues as the database would be clean..
    This is assuming that your problem is with the database contents. There is no reason to make this assumption, but plenty of reasons to think that the database is probably ok.

    IF you do what you are proposing, what *I* expect is that you will have the exact same problems, but now they'll be compounded by having an empty database.
    That's if you are lucky. If you are unlucky you'll just kill the site stone dead.

    Quote Originally Posted by evilonion View Post
    Is there a way for me to move all the customer and order information over though?
    The main thing for me is to move this data across as there are over 5000 current customers and orders that i would need to keep.
    I always suggest people learn how to use phpmyadmin (or similar SQL admin tool) for this. You shouldn't need it though, unless this reply comes too late.

    On the other hand, you *did* backup your database *before* performing your update, didn't you? If not, do it *now* before doing anything else. This is your lifeboat to ensure that even if things go drastically wrong you can *easily* recover.

    Quote Originally Posted by evilonion View Post
    Things like the added ezpages etc i would just have to manually recreate.
    If these also aren't currently working then perhaps there are missing files for those too?

    All evidence so far suggests that something went amiss with your update, and not all files have been uploaded (or not uploaded into the correct places).

    Take a *close* look at the file paths as well as the file names in the error messages. There may be subtle differences between what should be, and what is.

    Cheers
    Rod

  6. #16
    Join Date
    Feb 2010
    Posts
    68
    Plugin Contributions
    0

    Default Re: shipping rates no longer work

    Thanks rod.
    I havent deleted anything yet. The main site is still live as its a very busy fabric shop.
    I'm doing all this in a replicated database with a new store in a renamed folder. That way i can get it running 100% then just rename the folder and the config files.

    I'll take a look for the factory.php file. I dont even know what that is tbh...

  7. #17
    Join Date
    Feb 2010
    Posts
    68
    Plugin Contributions
    0

    Default Re: shipping rates no longer work

    i have just checked and the file is there...
    its permissions are 644

  8. #18
    Join Date
    Feb 2010
    Posts
    68
    Plugin Contributions
    0

    Default Re: shipping rates no longer work

    It would appear that was relating to 'ssu' which is no longer supported but also seo urls which i have now installed.
    Shipping still doesnt display though.

    Is there a way to refresh the logs? Or will it only create new logs if different errors are created?

    edit:
    with shipping estimator added to the cart you can click a button and see how much postage should cost... it doesnt add it to the overall cart though.

  9. #19
    Join Date
    Feb 2010
    Posts
    68
    Plugin Contributions
    0

    Default Re: shipping rates no longer work

    just to add another update, i have tried using the old factory.php file from 1.3.9 but it still doesnt work.
    win merge shows the files as being almost the same, just slightly different in places.

    is there a way of taking this section along with the database back to standard?
    I dont know how to repair this part :/

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

    Default Re: shipping rates no longer work

    Quote Originally Posted by evilonion View Post
    i have just checked and the file is there...
    its permissions are 644
    Refresh my memory. What file are you/we referring too, and in what location are you finding it? (yes, I know I can look back at the previous posts to see what was *written*, but what I want/need to know is what *you* are *actually* looking at.

    It's not that I doubt you, but as I suggested, *subtle* changes can make big differences.

    /public_html/2013update/includes/functions/sessions.php
    is not the same as
    /public_html/includes/functions/sessions.php I want you to 'convince' me that the file you "have just checked and the file is there" is the same one I say *should* be there, and that you aren't referring to the other one, which could also 'be there'. If you find 'its there' in *both* folders then we have a real problem.

    Cheers
    Rod

 

 
Page 2 of 3 FirstFirst 123 LastLast

Similar Threads

  1. v151 US and International Shipping Flat Rates plus calculated shipping rates.
    By Rick5150 in forum Built-in Shipping and Payment Modules
    Replies: 5
    Last Post: 22 Jan 2013, 10:48 PM
  2. v150 Changed host, templates no longer work
    By nathan179 in forum General Questions
    Replies: 3
    Last Post: 11 Jan 2013, 04:00 AM
  3. Zone rates & MZMT shipping modules, how to make it work properly?
    By langtu123 in forum Addon Shipping Modules
    Replies: 14
    Last Post: 13 May 2011, 09:47 AM
  4. seo urls no longer work on update?
    By evilonion in forum General Questions
    Replies: 5
    Last Post: 8 Aug 2010, 06:46 PM
  5. Help! International Zone Rates Shipping Doesn't work for me?
    By Oseymour in forum Built-in Shipping and Payment Modules
    Replies: 1
    Last Post: 29 Jun 2009, 05:57 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