Jump to content

test server on subdomain not working


Recommended Posts

Hi there,

 

trying to create a clone of an online store, I tought it was easier... :)

 

I followed this tutorial (thanks Benjamin) http://www.prestashop.com/blog/en/set-up-a-test-server-for-your-online-store/ with some slight modifications: when I created the new db I couldn't import the old one, so from the old one I exported all the tables and then imported them back again in the new db.

 

Next: changed the url in table ps_shop_url, plus in ps_configuration table changed PS_SHOP_DOMAIN and PS_SHOP_DOMAIN_SSL as suggested in this article.

 

I also did the modifications in in config/settings.inc.php as Benjamin said.

 

Unfortunately, loading my subdomain I'm redirected to another url (e.g. http://sub.mysite.com/admin/index.php?controller=AdminLogin&token=fac08e207f21a99be0371b693882aa91)

 

with this page:

 

[PrestaShopException]

No access reference in table module_access for id_module 87.
at line 2190 in file classes/module/Module.php

2184. 				self::$cache_permissions[$employee->id_profile][$row['id_module']]['configure'] = $row['configure'];2185. 			}2186. 		}2187. 2188. 		if (!isset(self::$cache_permissions[$employee->id_profile][$id_module]))2189. 			throw new PrestaShopException('No access reference in table module_access for id_module '.$id_module.'.');2190. 2191. 		return (bool)self::$cache_permissions[$employee->id_profile][$id_module][$variable];2192. 	}2193. 2194. 	/**

What am I doing wrong?

 

Thanks

 

Marco

Link to comment
Share on other sites

×
×
  • Create New...