Re: Ultimate SEO 2.200 [Support Thread]
hola will!
you have a couple of choices. you are installing this plugin into a WAMP environment. i know nothing about WAMP.
that said, you have STRICT mode turned on in your mysql environment. as you can control that environment, you can turn strict mode off. perhaps someone more familiar your WAMP environmant can tell you where that mysql variable is. (or perhaps you know how to do that already... or a google search should help as well https://goo.gl/pTE2fh)
it may also be due to a deprecated variable called no zero date in your mysql implementation. it would depend on your version and your configuration.
barring that you could change the code for the plugin. it looks like you would need to go to:
admin/includes/classes/usu_plugin.php
there are 2 instances where you would need to change (my line numbers look different from the ones reported in the log, and i have a fresh download):
0000-00-00
to
0001-01-01
personally i would recommend the first option. but your choice....
good luck!
1 Attachment(s)
Re: Ultimate SEO 2.200 [Support Thread]
Attachment 16779
This is my settings.
Re: Ultimate SEO 2.200 [Support Thread]
Quote:
Originally Posted by
carlwhat
hola will!
you have a couple of choices. you are installing this plugin into a WAMP environment. i know nothing about WAMP.
that said, you have STRICT mode turned on in your mysql environment. as you can control that environment, you can turn strict mode off. perhaps someone more familiar your WAMP environmant can tell you where that mysql variable is. (or perhaps you know how to do that already... or a google search should help as well
https://goo.gl/pTE2fh)
it may also be due to a deprecated variable called no zero date in your mysql implementation. it would depend on your version and your configuration.
barring that you could change the code for the plugin. it looks like you would need to go to:
admin/includes/classes/usu_plugin.php
there are 2 instances where you would need to change (my line numbers look different from the ones reported in the log, and i have a fresh download):
0000-00-00
to
0001-01-01
personally i would recommend the first option. but your choice....
good luck!
Thanks carlwhat, i have already fixed the first issue, now I can access to admin page now. i just posted another problem on post #1089, any ideas?
Re: Ultimate SEO 2.200 [Support Thread]
ideas? sure... i would still turn strict mode off...
with regards to your new problem, what template are you using?
your problem is NOT related to your .htaccess file.
some script is creating those links; and that script is ignoring the setting for your URLs.
good luck.
1 Attachment(s)
Re: Ultimate SEO 2.200 [Support Thread]
i just use the default Responsive Classic Template.
Attachment 16780
Re: Ultimate SEO 2.200 [Support Thread]
i also tried Classic Contemporary Green, still the same
Re: Ultimate SEO 2.200 [Support Thread]
that is a breadcrumb. it is constructed here:
includes/init_includes/init_add_crumbs.php
you can then see where the category part is constructed. my code looks like:
Code:
$breadcrumb->add($categories->fields['categories_name'], zen_href_link(FILENAME_DEFAULT, 'cPath=' . implode('_', array_slice($cPath_array, 0, ($i+1)))));
you then would need to find zen_href_link which i see here:
includes/functions/html_output.php
mine modified looks something like this:
Code:
function zen_href_link($page = '', $parameters = '', $connection = 'NONSSL', $add_session_id = true, $search_engine_safe = true, $static = false, $use_dir_ws_catalog = true) {
global $seo_urls;
$href_link = null;
if(isset($seo_urls)) {
$href_link = $seo_urls->href_link($page, $parameters, $connection, $add_session_id, $static, $use_dir_ws_catalog);
}
if($href_link === null) {
$href_link = original_zen_href_link($page, $parameters, $connection, $add_session_id, $search_engine_safe, $static, $use_dir_ws_catalog);
}
return $href_link;
}
good luck!
Re: Ultimate SEO 2.200 [Support Thread]
Thanks carlwhat.
For includes/init_includes/init_add_crumbs.php, my code is the same as yours.
For includes/functions/html_output.php, mine is different:
PHP Code:
function zen_href_link($page = '', $parameters = '', $connection = 'NONSSL', $add_session_id = true, $search_engine_safe = true, $static = false, $use_dir_ws_catalog = true) {
global $request_type, $session_started, $http_domain, $https_domain, $zco_notifier;
$link = null;
$zco_notifier->notify('NOTIFY_SEFU_INTERCEPT', array(), $link, $page, $parameters, $connection, $add_session_id, $static, $use_dir_ws_catalog);
if($link !== null) return $link;
if (!zen_not_null($page)) {
die('</td></tr></table></td></tr></table><br /><br /><strong class="note">Error!<br /><br />Unable to determine the page link!</strong><br /><br /><!--' . $page . '<br />' . $parameters . ' -->');
}
Re: Ultimate SEO 2.200 [Support Thread]
you need to look at the README in the install.
my version is slightly older.
look under modified files. you have not done that part.
PHP Code:
function zen_href_link($page = '', $parameters = '', $connection = 'NONSSL', $add_session_id = true, $search_engine_safe = true, $static = false, $use_dir_ws_catalog = true) {
global $request_type, $session_started, $http_domain, $https_domain;
// START alternative URLs patch
global $altURLs;
$link = null;
if(isset($altURLs)) {
$link = $altURLs->href_link($page, $parameters, $connection, $add_session_id, $static, $use_dir_ws_catalog);
if($link !== null) return $link;
}
// END alternative URLs patch
Re: Ultimate SEO 2.200 [Support Thread]
Thanks again carlwhat.
I replaced the code with yours, now the site works well now. Currently all my problems solved, i really appreciate your help, have a nice day.