Jump to content

Fault after copy a Prestashop site


Recommended Posts

To copy a prestashop to another server I followed the instructions.

ftp files to copy to new surroundings
 database backup with cpanel (export to zip file )
database import the zip file
Customizing database name, user name and password settings.inc
 
If I do this I get , unfortunately, an error message ( see attachment )
 
Perhaps anyone have any idea what I could still try ??? 

post-1181922-0-93692500-1460472064_thumb.png

Link to comment
Share on other sites

hello,

Thanks for the answer.

No at the back office there is also a fault. Fault text;

 

Table 'rigoq_pres327.pslm_shop_url' doesn't exist

 

SELECT s.id_shop, CONCAT(su.physical_uri, su.virtual_uri) AS uri, su.domain, su.main
                    FROM pslm_shop_url su
                    LEFT JOIN pslm_shop s ON (s.id_shop = su.id_shop)
                    WHERE (su.domain = 'rig-hosting.nl' OR su.domain_ssl = 'rig-hosting.nl')
                        AND s.active = 1
                        AND s.deleted = 0
                    ORDER BY LENGTH(CONCAT(su.physical_uri, su.virtual_uri)) DESC

at line 791 in file classes/db/Db.php

 

786. if ($webservice_call && $errno) {
787. $dbg = debug_backtrace();
788. WebserviceRequest::getInstance()->setError(500, '
 '.$this->getMsgError().'. From '.(isset($dbg[3]['class']) ? $dbg[3]['class'] : '').'->'.$dbg[3]['function'].'() Query was : '.$sql, 97);
789. } elseif (_PS_DEBUG_SQL_ && $errno && !defined('PS_INSTALLATION_IN_PROGRESS')) {
790. if ($sql) {
791. throw new PrestaShopDatabaseException($this->getMsgError().'<br /><br /><pre>'.$sql.'</pre>');
792. }
793.
794. throw new PrestaShopDatabaseException($this->getMsgError());
795. }
796. }
Link to comment
Share on other sites

hello,

 

After delete class_index.php i can login to /admin.!  Only it looks like there is no css or smarty? (see attach file)

I can login, but then still it looks like no css.  When i go now to the new site frontpage, i will be redirect to the old site.

 

Someone any suggestion what else to do now?  

post-1181922-0-41954000-1460546899_thumb.png

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...