1
head_robot
Footer shows /* */ not sure why
  • 2010/9/21 5:27

  • head_robot

  • Just popping in

  • Posts: 8

  • Since: 2010/2/3 2


One day, I noticed that my footer had disappeared and in its place was the following "block code" code:

/*
*/

I don't know when it happened or what caused it. I searched for all files that contained the word 'footer' in the title. I could not find any problems, but I'm no expert. Xoops is too complicated to edit source code.

The last thing I tried was installing the module, 'UserVisit 2.2', but then uninstalled it because it didn't work. Any help would be appreciated.

my system information is:

Xoops 2.4.4

MySQL

* Server: Localhost via UNIX socket
* Server version: 5.1.47-community-log
* Protocol version: 10


Web server

* cpaneld
* MySQL client version: 5.1.47
* PHP extension: mysql

phpMyAdmin

* Version information: 3.2.4

2
zyspec
Re: Footer shows /* */ not sure why
  • 2010/9/21 13:08

  • zyspec

  • Module Developer

  • Posts: 1095

  • Since: 2004/9/21


The Uservisit module had you replace your original footer.php file with one that came with Uservisit. Try replacing your ./footer.php file with the one that came with Xoops 2.4.4. Then update the system module and clear the cache files.

3
head_robot
Re: Footer shows /* */ not sure why
  • 2010/9/22 6:20

  • head_robot

  • Just popping in

  • Posts: 8

  • Since: 2010/2/3 2


I removed the old footer.php file and uploaded the one from the 2.4.4 source code. I updated the system module, but did not clear cache because I do not have that enabled. The cache folder has no cache files, but not sure if that's what you meant about clearing the cache files.

Long story short, I still see the /* */ instead of the footer. The footer does appear as it should in the admin area.

4
ghia
Re: Footer shows /* */ not sure why
  • 2010/9/22 8:07

  • ghia

  • Community Support Member

  • Posts: 4953

  • Since: 2008/7/3 1


It originates probably from one of your theme files.
Which theme are you using?
Try once with another theme, eg one of the standard themes as default or zetagenensis?

5
head_robot
Re: Footer shows /* */ not sure why
  • 2010/9/22 15:28

  • head_robot

  • Just popping in

  • Posts: 8

  • Since: 2010/2/3 2


I'm using the default theme, but I changed to several different other ones and the footer was fine on them. However, the problem is the same on the zetagenesis theme as well.

The website ishttp://lpclarkwa.org

I'm not sure what to check on in the theme folders?

6
ghia
Re: Footer shows /* */ not sure why
  • 2010/9/22 18:19

  • ghia

  • Community Support Member

  • Posts: 4953

  • Since: 2008/7/3 1


It is at the end in your /themes/default/theme.html file
/*
<!-- Start footer -->
<table cellspacing="0">
<tr id="footerbar">
    
</tr>
</table>
<!-- End footer -->
*/
<!--{xo-logger-output}-->

</
body>
</
html>
It seems an attempt to disable the footer, but as this is Smarty and not PHP code /* and */ have no effect.

7
head_robot
Re: Footer shows /* */ not sure why
  • 2010/9/23 4:00

  • head_robot

  • Just popping in

  • Posts: 8

  • Since: 2010/2/3 2


That was it. Thank you everyone, especially Ghia.

Login

Who's Online

122 user(s) are online (74 user(s) are browsing Support Forums)


Members: 0


Guests: 122


more...

Donat-O-Meter

Stats
Goal: $100.00
Due Date: May 31
Gross Amount: $0.00
Net Balance: $0.00
Left to go: $100.00
Make donations with PayPal!

Latest GitHub Commits