splat issue. replacement.js?

Skinning and designing Serendipity (CSS, HTML, Smarty)
Post Reply
dnlninja
Regular
Posts: 8
Joined: Sat Mar 11, 2006 8:03 pm

splat issue. replacement.js?

Post by dnlninja »

i have been having some issues lately, so i started with a fresh install of s9y.
In my cpanel site error logs i see the following error:
/home/law/public_html/templates/splat/dtr/replacement.js not found
it does this for a few files. It just seems to be looking without the /s9y/ directory in front of it.

I do have the replacement.js file, however it is in the propely setup path for templates which is /home/law/public_html/s9y/templates/splat/dtr/replacement.js

For some reason is looking for this file without the /s9y/ like it is setup in configurations. Any idea? thanks!
garvinhicking
Core Developer
Posts: 30022
Joined: Tue Sep 16, 2003 9:45 pm
Location: Cologne, Germany
Contact:

Re: splat issue. replacement.js?

Post by garvinhicking »

Hi!

Indeed the splat template author did not notice that there can be s9y blogs that do not run on the root path.

If you open the index.tpl file of the splat template, you should see this:

Code: Select all

<script type="text/javascript" src="/templates/splat/dtr/replacement.js"></script>
if you replace this with:

Code: Select all

<script type="text/javascript" src="{$serendipityBaseURL}/templates/splat/dtr/replacement.js"></script>
then it should properly work! I've also committed this fix to our repository of the template.

Regard,s
Garvin
# Garvin Hicking (s9y Developer)
# Did I help you? Consider making me happy: http://wishes.garv.in/
# or use my PayPal account "paypal {at} supergarv (dot) de"
# My "other" hobby: http://flickr.garv.in/
d_cee
Regular
Posts: 603
Joined: Wed Jan 18, 2006 6:32 pm
Location: UK
Contact:

Post by d_cee »

Hi

sorry I've not been able to respond to this - I've been in hospital :-(

I've sent a pm (which you can probably ignore now) as I'd now suggest that you use the latest version that Garvin has just updated.

Dave
judebert
Regular
Posts: 2478
Joined: Sat Oct 15, 2005 6:57 am
Location: Orlando, FL
Contact:

Post by judebert »

d_cee, I hope everything's resolved and you're feeling better.
Judebert
---
Website | Wishlist | PayPal
dnlninja
Regular
Posts: 8
Joined: Sat Mar 11, 2006 8:03 pm

Post by dnlninja »

Thanks much Garvin and dcee.
Hope all is well!
d_cee
Regular
Posts: 603
Joined: Wed Jan 18, 2006 6:32 pm
Location: UK
Contact:

Post by d_cee »

Thanks JUde

I'm fine(ish) now, I've had blocked artery in my leg that's been cut and patched up. It all went well so I should be back to normal in a couple more weeks now I'm out.

@dnlninja
thanks for the pm. I'm thinking of converting the Splat template into a bulletproof template or colourset so I suspect that will iron out any problems :-)

Dave
Post Reply