Page 2 of 2

Posted: Sat 12. Jun 2004, 09:40
by cRYOa
it is the same as far as I knew too.. doesn't make sense :?

I have however fixed it.. or actually I came up with a workaround. What I had to do to get it to work (I swear Oliver i didn't mod the code this time :) ) was i went into my template and in the LEFT section in the very begining i added the following.

Code: Select all

<script language="javascript" src="frontend.js"></script>
and then I went and uploaded another copy of frontend.js to my wcms root (where index.php and phpwcms.php is located) and now it works find.. no more errors and now the colors change on mouse over/out like they do here on phpwcms.de :)

I suspect it has something to do with my goofy server configuration and the fact its a domain alias, root and real root are not the same (as described in you document_root.php test). I don't seem to have any other problems though with any of the other included .js files used throughout phpwcms though.. so far just that one.

Anyway, thanks to all that helped me with this and all your suggestions. :)

Posted: Sat 12. Jun 2004, 10:07
by Oliver Georgi
Pease try following "index.php"

http://www.phpwcms.de/support/index.zip


Oliver

Posted: Sun 13. Jun 2004, 01:51
by cRYOa
Ok thanks for the index.php Oliver. I did remove the old one, the copy of frontend.js in my cms root, and the snippet of code in teh template and tried it out. It failed just as the original one. I messed around for some time with it and then finally i went and set phpwcms_template subdir and all inhereit files/folders under that to 777 and then it worked! I then reset them to all 755 and it still worked. Now i know for sure that I went through and set all chmod as directed in the documentation > Installation part of the website here.. and I know I changed them as described there.. something must have happened along the way where that file or the directory it's in or something got set to the wrong mode.. I'm still baffled there but I'm thinking maybe i did an edit on it from flashfxp (even though i didnt actually change anything) and maybe when it reposted the file it was done with some alternative default chmod. I dunno.. but it works as it should now. Sorry I took peoples time when it ended up being just that :( but thanks for all your help just the same