Page 1 of 1

splat issue. replacement.js?

Posted: Thu Jul 10, 2008 7:27 am
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!

Re: splat issue. replacement.js?

Posted: Thu Jul 10, 2008 11:39 am
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

Posted: Thu Jul 10, 2008 3:26 pm
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

Posted: Thu Jul 10, 2008 6:03 pm
by judebert
d_cee, I hope everything's resolved and you're feeling better.

Posted: Thu Jul 10, 2008 7:41 pm
by dnlninja
Thanks much Garvin and dcee.
Hope all is well!

Posted: Fri Jul 11, 2008 11:37 am
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