| Author |
Message |
|
lalo
|
Post subject: Sitemap error on non-multilingual mode - IP 1.0.2 beta Posted: Thu Nov 12, 2009 1:38 am |
|
Joined: Thu Nov 12, 2009 1:36 am Posts: 3
|
|
Hi all, If you set multilingual mode to false, when you try to link on the sitemap page, the url rewriting isn't working, so the sitemap.php file is showed directly, we don't go through index.php.
If you wanna fix it, you have two solutions :
1/ Modify the htaccess and add the line "RewriteRule ^(sitemap.*)$ index.php?%{QUERY_STRING} [L]" after "RewriteEngine"
2/ You can just modify the url name of the sitemap in whatever you want, but not "sitemap"
Anyway, nice job for this CMS i've been looking for since a long time...
|
|
 |
|
 |
|
ImpressPages
|
Post subject: Re: Sitemap error on non-multilingual mode - IP 1.0.2 beta Posted: Thu Nov 12, 2009 3:53 pm |
|
 |
| Site Admin |
Joined: Tue Apr 28, 2009 7:21 am Posts: 55
|
|
lalo, thanks for the issue report.
However, we were not able to reproduce the issue you described. We would appreciate if you can tell us more details.
Does it happen when you open your-domain.com/sitemap or your-domain.com/sitemap.php ? What is the url of Sitemap zone in SEO module?
|
|
 |
|
 |
|
lalo
|
Post subject: Re: Sitemap error on non-multilingual mode - IP 1.0.2 beta Posted: Thu Nov 12, 2009 6:58 pm |
|
Joined: Thu Nov 12, 2009 1:36 am Posts: 3
|
|
Hi,
I tried to reproduce it on my local xampp env with the same settings, but unfortunately i couldn't. To be sure i've exactly the same environment i'export the modul and the content mod from the developper interface. When i tryed to import it in my local env, i got the folowing error :
Fatal error: Modules\developer\content_mod_config_exp_imp\Manager::manage() [<a href='modules\developer\content-mod-config-exp-imp\manager.manage'>modules\developer\content-mod-config-exp-imp\manager.manage</a>]: The script tried to execute a method or access a property of an incomplete object. Please ensure that the class definition "Modules\developer\config_exp_imp\Parameters" of the object you are trying to operate on was loaded _before_ unserialize() gets called or provide a __autoload() function to load the class definition in C:\xampplite\htdocs\ImpressPages\ip_cms\modules\developer\content_mod_config_exp_imp\manager.php on line 109
To repply to you request, my SEO url for sitemap is "sitemap", if i set it to "sitemap_test" or whatever, the error isn't there anymore. The error happen when i open your-domain.com/sitemap
Anyway, about the sitemap error, i suppose that it's due to my environement settings as i couldn't reproduce it in local...
The environment showing the error is a 5.3.0 php env, with magic_quotes_gpc set to on
I'll let you know if the error show up in my next install.
|
|
 |
|
 |
|
maskas
|
Post subject: Re: Sitemap error on non-multilingual mode - IP 1.0.2 beta Posted: Tue Dec 01, 2009 1:46 pm |
|
 |
| Project Developer |
Joined: Tue Apr 28, 2009 9:43 am Posts: 1720
|
|
"magic_quotes_gpc set to on"
ImpressPages can't work correctly with magic quotes turned on. This setting is deprecated and will be removed from PHP 6. The code is not compatible with magic quotes on.
|
|
 |
|
 |
|