View Single Post
  #12  
Old 12-10-2012, 04:21 PM
powerchaos's Avatar
powerchaos powerchaos is offline
WebMaster
 
Join Date: May 2008
Posts: 130
Gender: Male
Credits: 12,927
powerchaos
Send a message via AIM to powerchaos Send a message via MSN to powerchaos
Default

well i got the same problem at 1.3.1
but that is because the css is out of his context in first place and for the rest i dit not debug it

the only thing i see in the php info is the short open tags

Code:
short_open_tag	Off
so all code that start with <? code ?> will not work and need to be replaced with <?php code ?>

the thing you could try in the code is to define the real location of the files

for example
profile.php is located in the home dir ( website/profile.php )

so you can put this text before it to get it working in case it gives errors

../profile.php ( for main root )
or ./profile.php (same as profile.php but still a bit differend as it returns back to home instead adding profile.php to it )

example of what i mean

Code:
<img src='templates/icons/star.gif'
replace to
Code:
<img src='../templates/icons/star.gif'
or the best way
Code:
<img src='http://".$_SERVER['SERVER_NAME']."/templates/icons/star.gif'>
the above code will always go back to the main website (with out http , $_SERVER['SERVER_NAME'] will provide 'earth.demonpower.com' on the webite earth.demonpower.com

hopely this can help to debug

Greetings From PowerChaos
Reply With Quote