Page 2 of 3 FirstFirst 123 LastLast
Results 11 to 20 of 27
  1. #11
    Join Date
    Nov 2004
    Location
    Norfolk, United Kingdom
    Posts
    3,036
    Plugin Contributions
    2

    Default Re: Moving zencart - cannot find Browser option on SQL tab -help!

    I don't know why you'd be getting that error if you dropped the tables from the default setup database, or if you just created a blank database and then run the backup into it.

    If you set up the site using the install and then dropped the tables in the default database, then try setting up another blank database and then running your backup sql file into it. If it works then you'd have to edit both configure.php files with the name of the new database.

    Vger

  2. #12
    Join Date
    Oct 2005
    Location
    Hampshire, UK
    Posts
    96
    Plugin Contributions
    0

    Default Re: Moving zencart - cannot find Browser option on SQL tab -help!

    Thanks Vger,
    I dropped the tables from the default setup database admin_zc1 (which had the demo products) so I'm off to try your suggestion.

    Some additional info: PHP is run as CGI on my host (Site5)

    This is what I've done:
    1. Create a blank database called admin_zencart
    2. Select "Import" - "Browse" ({filename.sql} which is zipped})
    3. Character set of the file: utf8 (this was the default)
    4. Click Go

    The contents of this new database is exactly the same as the current database.

    I've ammended the 'DB_DATABASE' in includes/configure.php and admin/ includes/configure.php

    I get the same error with the new database admin_zencart
    "1146 Table 'admin_zencart.configuration' doesn't exist"

    Your advice is much appreciated,
    Linda

  3. #13
    Join Date
    Nov 2004
    Location
    Norfolk, United Kingdom
    Posts
    3,036
    Plugin Contributions
    2

    Default Re: Moving zencart - cannot find Browser option on SQL tab -help!

    Is phpMyAdmin saying that the database import was successful?

    Why is the backup database zipped?

    Vger

  4. #14
    Join Date
    Oct 2005
    Location
    Hampshire, UK
    Posts
    96
    Plugin Contributions
    0

    Default Re: Moving zencart - cannot find Browser option on SQL tab -help!

    From the zencart admin on my original site, I have tried selecting "No Compression (Pure SQL)" instead of GZIP but it just zips it anyway. I noticed that I have not enabled SSL on the admin here. Does it matter for this purpose?

    I've just unzipped the file on my pc and dropped the new database admin_zencart and I'm trying to import the sql file from my pc.

    It's really strange as Firefox hangs everytime I click on go and I don't get phpMyAdmin saying that the database import was successful. I'm running phpMyAdmin from Site5's cpanel.

    I'm getting the error message again. I'm going to try IE6 and see if that makes any difference.

    Sorry to keep you up so late,
    Linda

  5. #15
    Join Date
    Oct 2005
    Location
    Hampshire, UK
    Posts
    96
    Plugin Contributions
    0

    Default Re: Moving zencart - cannot find Browser option on SQL tab -help!

    Just tried IE6. Got the message

    " Import has been successfully finished, 404 queries executed."

    but I'm still getting the error

    "1146 Table 'admin_zencart.configuration' doesn't exist"

    Thanks so much for your time Vgers.

    I'm giving up for tonight,
    Linda

  6. #16
    Join Date
    Nov 2004
    Location
    Norfolk, United Kingdom
    Posts
    3,036
    Plugin Contributions
    2

    Default Re: Moving zencart - cannot find Browser option on SQL tab -help!

    Okay, - there you have your problem - 404 queries executed.

    I just backed up a default zen cart database, dropped all of the tables, and imported the backup - which came to 3210 queries.

    It looks as though your backup isn't complete.

    Vger

  7. #17
    Join Date
    Oct 2005
    Location
    Hampshire, UK
    Posts
    96
    Plugin Contributions
    0

    Default Re: Moving zencart - cannot find Browser option on SQL tab -help!

    You're right. The problem is I don't know how to make my backup complete.
    I've tried the "Backup MySQL Database" contribution, using export on phpMyAdmin and even copying and pasting the contents of the export file into "Run SQL query/queries on database" on the SQL tab and the results are the same.

    I've compared each row of data on my current database and the new database :

    Old DB New DB
    ------- --------
    No. of records 4953 4953
    Size 824.4 KB 804.6 KB
    Overhead 26.5 KB 0 Bytes

    The number of records for each table on both databases are the same.

    Here are the differences in Size:
    Table name Old DB New DB
    -------------- ------- --------
    zen_admin_activity_log 387.4 KB 386.4 KB
    zen_banners_history 17.5 KB 16.5 KB
    zen_configuration 138.6 KB 149.6 KB
    zen_db_cache 41.3 KB 1.0KB
    zen_products 5.8 KB 5.6 KB
    zen_sessions 30.1 KB 3.9 KB
    zen_whos_online 10.5 KB 8.2 KB

    Overhead in Old Database:
    zen_customers_basket 36 Bytes
    zen_sessions 24,716 Bytes
    zen_whos_online 2,400 Bytes

    I've checked it at least 3 times and the maths doesn't make sense to me.

    I'm not familiar with phpMyAdmin and this is my first go at exporting and importing databases. Have I missed something?

    Thanks very much,
    Linda

  8. #18
    Join Date
    Nov 2004
    Location
    Norfolk, United Kingdom
    Posts
    3,036
    Plugin Contributions
    2

    Default Re: Moving zencart - cannot find Browser option on SQL tab -help!

    The differences between those two files are minimal and don't account for the fact that only 404 queries are being run. What I think is happening is that the whole backup is not being inserted into the database, which is why you are getting the errors about the missing 'configuration' table. With only 404 queries being inserted it appears that only the tables prior to the 'configuration' table are actually being entered into your database.

    What I find unusual about this is that your database is under 2Mbs in size (under 1Mb in fact) and if all of the database cannot load then you should get an error message. There is usually a default time-out of 30 seconds to run a backup into a database, but with the small size of your database it shouldn't be a problem.

    In summary there are a few problems:
    1. The whole backup is not being inserted.
    2. You are not getting any error messages to tell you that.
    3. There appears to be a problem with your phpMyAdmin which is preventing the backup from being inserted.

    I'm sorry that this provides no solution to your problem, but I'm not even sure that there is one - unless you raise the problem of phpMyAdmin with your hosting company.

    Vger

  9. #19
    Join Date
    Oct 2005
    Location
    Hampshire, UK
    Posts
    96
    Plugin Contributions
    0

    Default Re: Moving zencart - cannot find Browser option on SQL tab -help!

    Hi Vgers,
    I was trying to export and import via php script.
    To export,

    <?PHP
    $User = ""; // Put New user -- CPanel user or MySQL user with All permissions is fine.

    $Password = ""; // Put New Password

    $DatabaseName = ""; // Put Database name
    $File = ""; // Put the complete path here -- /home/user/database.sql for example

    $Results = shell_exec( "mysqldump --allow-keywords --opt -u$User -p$Password $DatabaseName > $File");
    ?>

    Called it from the browser and the resulting sql file was only a few hundred bytes. I'm definitely getting in touch with my host now. I'll update everyone.

    Thank you so much for your time.

    Linda

  10. #20
    Join Date
    Nov 2004
    Location
    Norfolk, United Kingdom
    Posts
    3,036
    Plugin Contributions
    2

    Default Re: Moving zencart - cannot find Browser option on SQL tab -help!

    Let us know how you got on.

    Vger

 

 
Page 2 of 3 FirstFirst 123 LastLast

Similar Threads

  1. v155 How do I get the tab on my browser to say something other than Zencart?
    By bscho in forum Installing on a Linux/Unix Server
    Replies: 4
    Last Post: 17 Jul 2016, 06:48 PM
  2. Browser tab text?
    By ekon79 in forum Templates, Stylesheets, Page Layout
    Replies: 5
    Last Post: 16 Apr 2015, 02:49 PM
  3. Renaming browser tab in IE8
    By dpet102 in forum General Questions
    Replies: 4
    Last Post: 30 Sep 2010, 05:02 PM
  4. Changing Browser Tab Title???
    By LindaB in forum Templates, Stylesheets, Page Layout
    Replies: 1
    Last Post: 25 Jun 2010, 05:16 AM
  5. browser tab customization
    By melena in forum Templates, Stylesheets, Page Layout
    Replies: 3
    Last Post: 31 Jul 2008, 08:49 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