PDA

View Full Version : Strange error from actinic


googlybear
16-Nov-2006, 11:54 AM
Hi everyone,

We currently have 6 seperate actinic shops running on our website http://www.xcelcius.com to better target our customers needs.

Recently I have started to merge similarities between them using php code and includes, like the product details etc.. instead of having to update everything between all the shops, i simply edit one file and everything is done.

Today, i changed the location of a .css file in the product template to point to the new one.

Originally it was like this:
href="feedback.css"

and i changed it to this:
href="../../inc/feedback.css"


When i refreshed the page in actinic, an error came up saying that it couldnt find the file, and it cannot generate the html.

This i understand, as the html pointing to the .css file was probably wrong for local previews. Once uploaded it all worked fine.

But everytime i changed product, this error kept appearing and became very annoying. So i changed the template to this:
href="http://www.xcelcius.com/inc/feedback.css"

However now, i get the error:
"No error occurred"

I click ok (thats all i can do)

And then i get:
"Error generating html pages"

I click ok (again thats all i can do)
and the page loads as normal. When i upload the pages, it all works properly.

Is there a way i can get rid of this annoying error, without duplicating the locations of the .css files for every shop.

Thanks
Dave.

------------------------
www.xcelcius.com
Thermal Underwear for temperatures down to -25c

jont
16-Nov-2006, 12:02 PM
If it is working have you looked under Housekeeping | Warnings to see if there is an option to disable the warning flag??

Actinic like everything in its own folders but does work with external pages and links but will htrow the error. If you are sure it is working disable the warning

googlybear
16-Nov-2006, 02:13 PM
Hi Jont,

Thanks for the prompt reply. I have checked all the error warnings, and there isnt one there that simply says

"No error occurred"
or
"Error generating html pages"

????

cdicken
20-Nov-2006, 09:58 AM
I've seen this before as well when trying to include stylesheets via an http address.

THe only way I found to get around it is to use a link that's something like this in the headers:

<LINK REL=STYLESHEET HREF="styles.css">

And then make the content of styless.css the following:@import url("http://www.xcelcius.com/inc/feedback.css");You do miss out on the CSS in the preview though - but you don't get any errors and it works correctly online.

googlybear
20-Nov-2006, 03:03 PM
Thanks Chris,

I was almost ready to give up and put it back as it was :p

googlybear
21-Nov-2006, 12:13 PM
This is just to say thank you to Chris for his help.

I have now managed to link the products in all 6 shops to the same generic .css file.

Thanks again

Dave.