Member
Member
javafueled   2006-02-14, 14:52
#1

D'oh! No body. How abstract of me.

So, continuing where I left off... New install. Generally working. But the default theme is bombing, no style is showing up and a couple of links are hosed.

I've narrowed it down to the zen/functions.php and the following code:
`if (strstr(basename(dirname($_SERVER['SCRIPT_NAME'])), "zen")) {

define('WEBPATH', dirname(dirname($_SERVER['SCRIPT_NAME'])));

} else {

define('WEBPATH', dirname($_SERVER['SCRIPT_NAME']));

}`

WTF does this do? Basically, it is returning a WEBPATH of / and this results in href attribute of //themes/default/zen.css. No good. So, what if anything should I be looking at to fix this branch? Or is something on my end broken? If I break down the boolean part I get the correct value, /zenphoto, but when the branch executes in context, I get /. That dog won't run. So... is this my problem, and if so how do I fix it, or something that sneaked in the release that should be corrected?

Member
Member
javafueled   2006-02-14, 17:26
#2

I see Bug #6094 may cover this very problem. I thinks this is "something that sneaked into the release that needs to be corrected."

Developer
Developer
trisweb   2006-02-15, 20:38
#3

Yes, you probably need to comment out those lines and just define your own webpath like so:

define('WEBPATH', '/zenphoto');

Sorry about that.

  
Powered By MyBB, © 2002-2026 MyBB Group.
Made with by Curves UI.