Jump to content

Recommended Posts

my co worker has a site that runs off runcms i believe, but he bought it from a company calling it myspace gold. well the problem is that on the front page the website will refresh every so often and there is some php scripting at the top that you can't see unless you highlight it with the cursor. the site is http://www.ugabiz.com

 

any help would be great, you guys have a cool site here. I have been trying to learn more about php and mysql for sometime, i know some but im glad i found this site.

Link to comment
https://forums.phpfreaks.com/topic/43306-help-with-runcms-site/
Share on other sites

looks like somewhere in the code is missing the php identifier "<?php"

 

 

at the moment you have this

 


/********************************************************************/ /* 
themebox_template Functions */ /* 

*/ /* The look of certain blocks customized with templates */ /* */ /**************************************************************************/


function themebox_template($title='', $content, $show_template) { $dir = XOOPS_ROOT_PATH."/themes/".XOOPS_THEME."/template/"; $file = "$show_template"; include($dir.$file); } ?> 

 

should have this

 


<?php 

/********************************************************************/ /* 
themebox_template Functions */ /* 

*/ /* The look of certain blocks customized with templates */ /* */ /**************************************************************************/


function themebox_template($title='', $content, $show_template) { $dir = XOOPS_ROOT_PATH."/themes/".XOOPS_THEME."/template/"; $file = "$show_template"; include($dir.$file); } 

?> 

 

i may be wrong hard to tell without seeing the code.

 

hope this helps

 

Link to comment
https://forums.phpfreaks.com/topic/43306-help-with-runcms-site/#findComment-210349
Share on other sites

i uploaded the original theme.php file and its still there (and yes i cleared my browser cache)

 

this is what i don't understand

 

if you log in, it goes away and the page stops reloading itself

 

if you click on any of the links on the right side while logged out, it goes away and stops refreshing itself

 

only when you on the home page which is http://ugabiz.com/modules/friendfinder/ does it show up and refresh itself.

 

what did i do wrong :-\

 

thanks for the suggestion farkewie

Link to comment
https://forums.phpfreaks.com/topic/43306-help-with-runcms-site/#findComment-210797
Share on other sites

This thread is more than a year old. Please don't revive it unless you have something important to add.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.