Results 1 to 8 of 8
  1. #1
    Join Date
    May 2009
    Location
    Toronto, Canada
    Posts
    70
    Plugin Contributions
    0

    Default Product pages not linking to new /store directory

    I did my update to 1.3.9h and in a directory called 'store'
    But my original 1.3.8 store was in the root of my domain...

    I'm thinking because of importing my sql database to the new location (/store) that the links to each product when viewing links back to the old store in the root of my domain...

    Anyway of fixing this problem... I've changed all my DIR_WS and DIR_FS paths to the store directory correctly...

    Or am I doing something wrong?

    Thanks

  2. #2
    Join Date
    Oct 2006
    Location
    Alberta, Canada
    Posts
    4,571
    Plugin Contributions
    1

    Default Re: Product pages not linking to new /store directory

    "I did my update to 1.3.9h and in a directory called 'store'"

    That is incorrect thinking.

    Unless you already had a previous version in the 'store' dir. and ran the 'zc_install/index.php' to upgrade the files and database, you have not done an upgrade. Doesn't sound like you created a new database for the 'store' dir. either. By Importing a database from 1.3.8a to be used with 1.3.9h files and not upgrading the database, you have set yourself up for problems. You should have separated the two databases because now, making changes in one site Admin is going to affect the database for both stores.

    Can you be more specific as to just what, exactly, you did?

  3. #3
    Join Date
    May 2009
    Location
    Toronto, Canada
    Posts
    70
    Plugin Contributions
    0

    Default Re: Product pages not linking to new /store directory

    sorry... I should have been more clear...
    I've made a new sql database and installed a new 1.3.9h in a directory called /store modified the configure.php files to point to the new sql file and did the upgrade of the database to 1.3.9h.

    I'm just wondering if my template or something else is directing a path back to the root directory...

    You check it out here store.printersparts.com/store
    You just have to follow the path in the status bar to understand what I am saying... sometimes it works and then 'bam' the path changes to the root path of the older site...


  4. #4
    Join Date
    Oct 2006
    Location
    Alberta, Canada
    Posts
    4,571
    Plugin Contributions
    1

    Default Re: Product pages not linking to new /store directory

    store.printersparts.com/store << incorrect

    store.printersparts.com << correct

    Change the above in both config files for the 'store' dir. and see what happens.

  5. #5
    Join Date
    May 2009
    Location
    Toronto, Canada
    Posts
    70
    Plugin Contributions
    0

    Default Re: Product pages not linking to new /store directory

    Quote Originally Posted by Website Rob View Post
    store.printersparts.com/store << incorrect

    store.printersparts.com << correct

    Change the above in both config files for the 'store' dir. and see what happens.
    Neither configure.php files have the path store.printersparts.com/store in them for the DIR_WS or DIR_FS lines

    I've change the logo on the top to a light red so you will also notice when it changes to old website...



  6. #6
    Join Date
    Oct 2006
    Location
    Alberta, Canada
    Posts
    4,571
    Plugin Contributions
    1

    Default Re: Product pages not linking to new /store directory

    In Post #3 you stated: "You check it out here store.printersparts.com/store"
    which is why I pointed out it was an incorrect URL. If your config files do not use that URL then no problem.


    "I did my update to 1.3.9h and in a directory called 'store'
    But my original 1.3.8 store was in the root of my domain..."

    store.printersparts.com & printersparts.com both go to the same URL: store.printersparts.com - Why is that?

    I thought you had two separate installs going?

  7. #7
    Join Date
    May 2009
    Location
    Toronto, Canada
    Posts
    70
    Plugin Contributions
    0

    Default Re: Product pages not linking to new /store directory

    Quote Originally Posted by Website Rob View Post
    In Post #3 you stated: "You check it out here store.printersparts.com/store"
    which is why I pointed out it was an incorrect URL. If your config files do not use that URL then no problem.


    "I did my update to 1.3.9h and in a directory called 'store'
    But my original 1.3.8 store was in the root of my domain..."

    store.printersparts.com & printersparts.com both go to the same URL: store.printersparts.com - Why is that?

    I thought you had two separate installs going?
    The original 1.3.8 install is in root domain store.printersparts.com
    The 1.3.9h install is in store.printersparts.com/store
    www.printersparts.com has a 301 redirect to store.printersparts.com and being hosted by a different hosting company.

  8. #8
    Join Date
    Oct 2006
    Location
    Alberta, Canada
    Posts
    4,571
    Plugin Contributions
    1

    Default Re: Product pages not linking to new /store directory

    To solve the problem I suggest the following;

    - host both sites under one domain name on the same server, with one site in a sub-dir and password protected from public access

    - host both sites under two different domain names on two different servers

 

 

Similar Threads

  1. v139h New Arrivals Main Page Not Linking to Product
    By chloe21 in forum Setting Up Categories, Products, Attributes
    Replies: 3
    Last Post: 16 May 2012, 10:23 AM

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
  •  
disjunctive-egg
Zen-Cart, Internet Selling Services, Klamath Falls, OR