Jump to content

  • You cannot start a new topic
  • You cannot reply to this topic

Error moving cs-cart 4 to another domain Rate Topic   - - - - -

 
  • Eduard
  • Junior Member
  • Members
  • Join Date: 22-Feb 11
  • 86 posts

Posted 08 July 2013 - 07:39 AM #1

Hello I have been working on a new store with cs-cart 4 on a test domain. Now I want to move this to another domain. I changed the store-url in the stores section in the backend and changed the configlocal.php in the root directory of the install (changed the domainnames). Then I changed the domainname of the package in the Direct Admin. Now the following error occurs:
Warning: include(/home/packtrack/domains/domain1.nl/public_html/app/schemas/clone/sharing.php) [function.include]: failed to open stream: No such file or directory in/home/packtrack/domains/domain2.nl/public_html/app/functions/fn.common.php on line 2309

What do I do wrong or what am I missing? (I changed the domainnames to domain 1 and domain2 on purpose in this message by the way) I can see that the include still points at the old domain, so I am something missing but what?
Please help?

Sincerly,

Edwin

 
  • Hoko
  • Member
  • Members
  • Join Date: 26-Mar 11
  • 101 posts

Posted 19 July 2013 - 12:37 PM #2

Yes i have de same issue.....
Please, someone can help us with this.

 
  • tbirnseth
  • CS Cart Expert
  • Authorized Reseller
  • Join Date: 08-Nov 08
  • 11947 posts

Posted 22 July 2013 - 03:06 AM #3

Contact helpdesk and please post the response. Since V4 is so new, there are probably quite a few bugs of this nature that require a direct DB update in addition to the settings in the admin area.

EZ Merchant Solutions: Custom (USA based) B2B Development, Consulting, Development and Special Projects (get a quote here).
Commercial addons, payment methods and modifications to meet your business and operations needs.


 
  • Joachim
  • Advanced Member
  • Members
  • Join Date: 05-Oct 11
  • 69 posts

Posted 29 September 2013 - 09:49 AM #4

I just upgraded to 4.0.2. and I am getting the same issue. Since this is a few months ago, did you get a fix for this problem?
<p>4.4.2 Ultimate (6 storefronts)

 
  • tletourneau
  • Senior Member
  • Members
  • Join Date: 13-Apr 07
  • 179 posts

Posted 30 September 2013 - 06:53 AM #5

I am having the same problem when moving the version 4.0.2 install to another folder on the same server. I had to revert back to my prior version. Has anyone found the solution for this?
Thanks,
Tom
Version - 3.0.4
Hosting - RangeHosting.us

 
  • tjordan
  • Junior Member
  • Members
  • Join Date: 06-Oct 08
  • 142 posts

Posted 03 October 2013 - 12:41 AM #6

Just moved from temp domain to real domain and got this same error. Has cscart support provided a solution? I really dont want to have to start from scratch.

 
  • tletourneau
  • Senior Member
  • Members
  • Join Date: 13-Apr 07
  • 179 posts

Posted 03 October 2013 - 07:08 AM #7

I've setup a ticket, no response yet.

Sent from my EVO using Tapatalk 2


Thanks,
Tom
Version - 3.0.4
Hosting - RangeHosting.us

 
  • tjordan
  • Junior Member
  • Members
  • Join Date: 06-Oct 08
  • 142 posts

Posted 03 October 2013 - 12:33 PM #8

I set up a ticket also. Will post if I get a response.

 
  • tjordan
  • Junior Member
  • Members
  • Join Date: 06-Oct 08
  • 142 posts

Posted 03 October 2013 - 12:53 PM #9

FWIW My admin panel was working fine even though the front of the site was broken. In a futile attempt to repair the front end we uploaded the entire file system from the original site. Once we did it broke the front end and now the error messages are pointing to missing file in the old temporary domain.

I did a search for the temporary domain and found tons of references to it in the cache files. Particularly in the registry cache. I plan to backup the current cache and then erase what is on the live site. Will let you know.

 
  • Ausy
  • Advanced Member
  • Trial users
  • Join Date: 07-Mar 12
  • 56 posts

Posted 03 October 2013 - 01:04 PM #10

Try clearing cache admin.php?cc

 
  • tletourneau
  • Senior Member
  • Members
  • Join Date: 13-Apr 07
  • 179 posts

Posted 03 October 2013 - 04:36 PM #11

Thanks! I thought I had tried that but apparently not. I was able to get into the admin panel after running admin.php?cc and then I changed the store path in the admin panel and that resolved the issue for me. Good thing too as I received an email from support saying it was going to be 2-3 days before they could get to it. I've closed the ticket.


Thanks,
Tom
Version - 3.0.4
Hosting - RangeHosting.us

 
  • tjordan
  • Junior Member
  • Members
  • Join Date: 06-Oct 08
  • 142 posts

Posted 03 October 2013 - 07:58 PM #12

Yes, clearing the cache is the best first step. If you can't get to ?cc to clear the cache, then there is a brute force alternative. Rename the cache folder, then upload the default cache folder from the original extracted installation files. Go into the customer cache files and change the path to the correct path for your server.

change - /var/lib/jenkins/jobs/cscart-build-staging/workspace
to your correct account home path in the following files

/var/cache/registry/schema_clone_sharing
/var/cache/registry/schema_last_viewed_frontend

Then once you have access to admin go in and set the store domain(s) to the correct locations(s). The program will then regenerate all of the appropriate cache folders and files.

You may also have to fix the logo and banner images.

 
  • tbirnseth
  • CS Cart Expert
  • Authorized Reseller
  • Join Date: 08-Nov 08
  • 11947 posts

Posted 04 October 2013 - 06:50 PM #13

Anything under var/cache should be rebuilt as needed. No need to move any new cache files into this directory. That's why it's in "var".

EZ Merchant Solutions: Custom (USA based) B2B Development, Consulting, Development and Special Projects (get a quote here).
Commercial addons, payment methods and modifications to meet your business and operations needs.


 
  • grafis
  • Junior Member
  • Members
  • Join Date: 12-Jan 11
  • 150 posts

Posted 30 December 2013 - 05:43 AM #14

Thank you - I just moved a test/dev site from a sub directory to root and while the primary site worked fine after changing the Store URL in the admin and in config.local I could not access the admin. After two hours and 10-15 tries of moving files back and forth, deleting cache, disabling cache, edits, scouring the database for a path entry etc etc I found this thread and manually deleted my cache (which shouldn't have been there) and boom I'm in right away.

CS-Cart version 4.3.
Error: failed to open stream: No such file or directory in /home/site/public_html/app/functions/fn.common.php on line 2120

CS-Cart 4.7.1