Re: Ceon URI Mapping v4.x
I just installed Ceon URI onto a site that already had Fast and Easy Checkout installed. The FEC mod was working perfectly before the installation of the Ceon mod. Now, when I input user info on "/index.php?main_page=no_account" page, the form just refreshes itself and I can't proceed through checkout. A customer account is created though.
Any ideas on how I can fix this? It looks like these two mods are supposed to be compatible, not sure if I'm just missing something obvious here? Ceon URI is even turned off in the admin, and I still have this issue.
Re: Ceon URI Mapping v4.x
Hi,
Quote:
Originally Posted by
Limitless
When I check the page source I see the <base href> defined before the javascript.
That's good.
Quote:
Originally Posted by
Limitless
CSS/JS is defined properly:
No it is not!
This is not valid:
HTML Code:
<script type="text/djs" data-djssrc=
That's not valid HTML.
There's your problem.
All the best..
Conor
ceon
Re: Ceon URI Mapping v4.x
Quote:
Originally Posted by
Limitless
Thanks.
Been going over the FAQs related to this, but I cannot find the issue.
I am beginning to think that it is not a slimbox issue.
I see errors for other .js files as well where the category is prepended to the path.
"GET /light-communication/includes/templates/bask_black/jscript/jquery.js HTTP/1.0" 404
When I check the page source I see the <base href> defined before the javascript.
<base href="http://www.mydomain.com/"/>
<link rel="canonical" href="http://www.mydomain.com/light-communication/12-hour-emergency-bright-stick"/>
CSS/JS is defined properly:
<link rel="stylesheet" type="text/css" href="includes/templates/bask_black/css/stylesheet.css"/>
<link rel="stylesheet" type="text/css" href="includes/templates/bask_black/css/stylesheet_categories_menu.css"/>
<link rel="stylesheet" type="text/css" href="includes/templates/bask_black/css/stylesheet_default.css"/>
<link rel="stylesheet" type="text/css" href="includes/templates/bask_black/css/stylesheet_dropshadow.css"/>
<link rel="stylesheet" type="text/css" href="includes/templates/bask_black/css/stylesheet_nivo-slider.css"/>
<link rel="stylesheet" type="text/css" href="includes/templates/bask_black/css/stylesheet_slimbox_ex.css"/>
<script type="text/djs" data-djssrc="includes/templates/bask_black/jscript/jscript_jquery.js"></script>
<script type="text/djs" data-djssrc="includes/modules/pages/product_info/jscript_textarea_counter.js"></script>
<script type="text/djs" data-djssrc="includes/templates/bask_black/jscript/jquery.js"></script>
<script type="text/djs" data-djssrc="includes/templates/bask_black/jscript/instantSearch.js"></script
rewrite directives in vhost conf:
RewriteEngine On
# Don't rewrite any URIs ending with a file extension (ending with .[xxxxx])
RewriteCond %{REQUEST_URI} !\.[a-z]{2,5}$ [NC]
# Don't rewrite any URIs for some, popular specific file format extensions,
# which are not covered by main file extension condition above
RewriteCond %{REQUEST_URI} !\.(mp3|mp4|h264)$ [NC]
# Don't rewrite any URIs for some specific file format extensions,
# which are not covered by main file extension condition above
# Uncomment the following line to apply this condition! (Remove the # at the start of the next line)
#RewriteCond %{REQUEST_URI} !\.(3gp|3g2|h261|h263|mj2|mjp2|mp4v|mpg4|m1v|m2v|m4u|f4v|m4v|3dml)$ [NC]
# Don't rewrite admin directory
RewriteCond %{REQUEST_URI} !^/admin-XXXXXXXXXXXX [NC]
# Don't rewrite editors directory
RewriteCond %{REQUEST_URI} !^/editors/ [NC]
# Handle all other URIs using Zen Cart (its index.php)
RewriteRule .* /index.php [QSA,L]
I found it:
Modified the html_header.php where it builds the links:
echo '<script type="text/javascript" src="' . '/' . $template->get_template_dir('.js',DIR_WS_TEMPLATE, $current_page_base,'jscript') . '/' . $value . '"></script>'."\n";
Added in an additional '/' .
Why that doesn't work when edited in the configure.php file... 500 error.
Re: Ceon URI Mapping v4.x
Hi,
Quote:
Originally Posted by
Limitless
I found it:
Modified the html_header.php where it builds the links:
You've kludged it but not found it. Ceon URI Mapping doesn't require anything to be modified like that.
Regardless, life and time is short so I'll leave things with you. :)
All the best..
Conor
ceon
Re: Ceon URI Mapping v4.x
Hi,
Quote:
Originally Posted by
Danielle
Any ideas on how I can fix this? It looks like these two mods are supposed to be compatible, not sure if I'm just missing something obvious here? Ceon URI is even turned off in the admin, and I still have this issue.
They do work together so I'm afraid I don't know what you've done wrong, sorry.
I probably won't be on the forum much for the next few days so apologies for not being able to comment further.
All the best..
Conor
ceon
Re: Ceon URI Mapping v4.x
Quote:
Originally Posted by
conor
Hi,
You've kludged it but not found it. Ceon URI Mapping doesn't require anything to be modified like that.
Regardless, life and time is short so I'll leave things with you. :)
All the best..
Conor
ceon
Perhaps its in the template?
Regardless, if I shut off URI Mapping, everything was fine, enabled it mangled css and js.
Re: Ceon URI Mapping v4.x
Quote:
Originally Posted by
Limitless
Perhaps its in the template?
Regardless, if I shut off URI Mapping, everything was fine, enabled it mangled css and js.
YES it's the template.. in particular the calls to some javascript in which has already been pointed out is using INVALID HTML..
Code:
<script type="text/djs" data-djssrc="includes/templates/bask_black/jscript/jscript_jquery.js"></script>
<script type="text/djs" data-djssrc="includes/modules/pages/product_info/jscript_textarea_counter.js"></script>
<script type="text/djs" data-djssrc="includes/templates/bask_black/jscript/jquery.js"></script>
<script type="text/djs" data-djssrc="includes/templates/bask_black/jscript/instantSearch.js"></script
Whatever you have installed on your site that needs these javascripts IS the source of your issue.. (a search program or a slideshow perhaps??) Now whether this is coming from your template or some other add-on, the issue is the incorrect code it uses. This is NOT a Ceon URI issue.. Fix this mod or template and your javascript errors will go away..
Re: Ceon URI Mapping v4.x
Quote:
Originally Posted by
DivaVocals
YES it's the template.. in particular the calls to some javascript in which has already been pointed out is using INVALID HTML..
Code:
<script type="text/djs" data-djssrc="includes/templates/bask_black/jscript/jscript_jquery.js"></script>
<script type="text/djs" data-djssrc="includes/modules/pages/product_info/jscript_textarea_counter.js"></script>
<script type="text/djs" data-djssrc="includes/templates/bask_black/jscript/jquery.js"></script>
<script type="text/djs" data-djssrc="includes/templates/bask_black/jscript/instantSearch.js"></script
So is where I modified it correct? Or is there a better place?
Re: Ceon URI Mapping v4.x
Quote:
Originally Posted by
Limitless
So is where I modified it correct? Or is there a better place?
This is not the place to troubleshoot your template.. This is the support thread for the Ceon URI add-on.. and to answer your question, Conor already answered this for you.. Your FIX is not the answer.. it's a hack/kludge/workaround.. and not the right one..
The issue you are having with this mod is not caused by this mod, but by a javascript from your template or some other add-on you installed (or it's an add-on bundled in your template). With or with out this mod, there is an issue with your template or add-on or whatever is calling those javascripts.. The Ceon URI mod merely is making what was an invisible problem a visible problem. in other words it simply has brough to your attention something you need to fix anyway.. Fix it and Ceon URI will work without the javascript errors..
If you bought the template, go back to the vendor you purchased it from and have them fix it.. If it's a template you got from the free downloads section here, go to the support thread for your template and post our question/issue there. If none of the above applies, you have two choices..
Post a separate thread and ask for help in resolving your template issues, OR consider hiring someone to help you sort out the issues your template is causing with this mod..
Re: Ceon URI Mapping v4.x
Quote:
Originally Posted by
DivaVocals
YES it's the template.. in particular the calls to some javascript in which has already been pointed out is using INVALID HTML..
Code:
<script type="text/djs" data-djssrc="includes/templates/bask_black/jscript/jscript_jquery.js"></script>
<script type="text/djs" data-djssrc="includes/modules/pages/product_info/jscript_textarea_counter.js"></script>
<script type="text/djs" data-djssrc="includes/templates/bask_black/jscript/jquery.js"></script>
<script type="text/djs" data-djssrc="includes/templates/bask_black/jscript/instantSearch.js"></script
Whatever you have installed on your site that needs these javascripts IS the source of your issue.. (a search program or a slideshow perhaps??) Now whether this is coming from your template or some other add-on, the issue is the incorrect code it uses. This is NOT a Ceon URI issue.. Fix this mod or template and your javascript errors will go away..
fual slimbox was the offending mod (but it was any and every 'include'). I am not stating its a Ceon URI issue, I was just looking for some guidance after going through nearly 5 years of threads related to enabling SEO friendly urls, specifically CEON's URI Mapping and fual slimbox. I found an old post <referenced> where Conor had seen the exact same issue in 2009. I am not the only one that has had these issues and thought it was a relevant place to post as I was referencing his old post.