1
mikesmin
Some blocks not working.
  • 2005/2/26 2:58

  • mikesmin

  • Just popping in

  • Posts: 11

  • Since: 2003/2/10


I set up the Themes and Who's Online blocks for only the Webmaster group on my site.

Both of these blocks doesn't have any information in them.

For example, I have enabled two themes in the Selectable Themes section of the General Settings. I have also set Update module template .html files from themes/your theme/templates directory? to yes.

What am I missing to have these themes show up in the block when I sign in as Webmaster?

Also, why do I not show up in the Who's Online block?

Thanks for any help you can give me.

Mike



2
mikesmin
Restore of Xoops Problem
  • 2004/4/22 12:42

  • mikesmin

  • Just popping in

  • Posts: 11

  • Since: 2003/2/10


I restored my XOOPS site because of problems with my web host and am getting error messages when I sign in. I am running XOOPS 1.3.10.

Notice: Use of undefined constant _MI_MEMBERS_NAME - assumed '_MI_MEMBERS_NAME' in /hsphere/local/home/mikesmin/closetojesus.org/modules/xoopsmembers/xoops_version.php on line 2

Notice: Use of undefined constant _MI_MEMBERS_DESC - assumed '_MI_MEMBERS_DESC' in /hsphere/local/home/mikesmin/closetojesus.org/modules/xoopsmembers/xoops_version.php on line 4

Notice: Use of undefined constant _MI_MEMBERS_BNAME1 - assumed '_MI_MEMBERS_BNAME1' in /hsphere/local/home/mikesmin/closetojesus.org/modules/xoopsmembers/xoops_version.php on line 22

Notice: Use of undefined constant _MI_MEMBERS_BNAME2 - assumed '_MI_MEMBERS_BNAME2' in /hsphere/local/home/mikesmin/closetojesus.org/modules/xoopsmembers/xoops_version.php on line 28

Notice: Use of undefined constant _MB_MEMBERS_TITLE2 - assumed '_MB_MEMBERS_TITLE2' in /hsphere/local/home/mikesmin/closetojesus.org/modules/xoopsmembers/blocks/members_new.php on line 40

I get these types of messages all over the place, so it is not related to any specific module. I have tried CHGMOD 777 to all Cache folders in the Modules. I also did a CHGMOD 666 to all files in the cache folders. I'm still thinking that this is a permissions problem. What else am I missing? I couldn't find the 1.3.10 documentation on the XOOPS site.



3
mikesmin
Re: chgmod for Xoops 1.3.10
  • 2004/4/5 0:34

  • mikesmin

  • Just popping in

  • Posts: 11

  • Since: 2003/2/10


I double-checked mainfile.php, just to make sure. I believe that the path is correct. I did have a problem with the path earlier (before this error) and I had a lot more error messages. I corrected the path information and am down to this error now.



4
mikesmin
chgmod for Xoops 1.3.10
  • 2004/4/4 23:34

  • mikesmin

  • Just popping in

  • Posts: 11

  • Since: 2003/2/10


I am in the process of moving to a new hosting company. I restored my 1.3.10 XOOPS system from backup, but get the following error message.

Quote:
Warning: Cannot modify header information - headers already sent by (output started at /home/closetoj/public_html/mainfile.php:64) in /home/closetoj/public_html/index.php on line 34


Now, I am wondering if this has something to do with permissions. I remember that somewhere in the installation there is a step to chgmod some directories. I have searched this site and cannot find the information. Can anyone help or point me in the right direction?

Thanks!



5
mikesmin
Re: Warning: Cannot modify header inf
  • 2003/12/31 18:51

  • mikesmin

  • Just popping in

  • Posts: 11

  • Since: 2003/2/10


Thank you CBlue for being persistent. I found the problem in common.php. There were several CRLF characters at the end of the file. I deleted those and everything works now. You were right!

Thank you very much for all your help!

Mike



6
mikesmin
Re: Warning: Cannot modify header inf
  • 2003/12/31 15:14

  • mikesmin

  • Just popping in

  • Posts: 11

  • Since: 2003/2/10


I uploaded a fresh copy of index.php. I still get the same error message. Here is the code in question as indicated by the error message.

if ( isset($xoopsConfig['startpage']) && $xoopsConfig['startpage'] != "" && $xoopsConfig['startpage'] != "--" ) {
header("Location: modules/".$xoopsConfig['startpage']."/");
exit();
} else {
$xoopsOption['show_rblock'] =1;
include("header.php");
make_cblock(); //create center block
include("footer.php");
}

I almost expect it is a problem with permissions. Is there something that gets updated in this code that I should check the permissions on? The reason I ask this is that I started having this problem after a site restore from backup. I needed to go through and setup permissions just like a scratch installation. Since my site displays for anonymous users and gives a blank page when I log in, I thought it might have something to do with permissions.

I am also curious where $xoopsConfig is defined.



7
mikesmin
Re: Warning: Cannot modify header inf
  • 2003/12/30 22:07

  • mikesmin

  • Just popping in

  • Posts: 11

  • Since: 2003/2/10


When I turn off debugging, I get a blank page. That is why I turned on the debugging in the first place. Can anyone help me with what causes the blank page?



8
mikesmin
Problem solved! - Warning: Cannot modify header inf
  • 2003/12/30 21:30

  • mikesmin

  • Just popping in

  • Posts: 11

  • Since: 2003/2/10


I am getting this message when I try to access my site using www.closetojesus.org. I don't get it when using www.closetojesus.org/modules/news/.

Warning: Cannot modify header information - headers already sent by (output started at /home/mthieme/public_html/mainfile.php:67) in /home/mthieme/public_html/index.php on line 34

When I go to www.closetojesus.org/modules/news/ my site displays fine. When I go to log in, I get the same error message.

Thanks, Mike



9
mikesmin
Re: Fatal error: Call to undefined function: xoops_header()
  • 2003/12/30 21:25

  • mikesmin

  • Just popping in

  • Posts: 11

  • Since: 2003/2/10


I have figured out this problem. It was the XOOPS Physical Path. Now I am getting another problem. I will open up another thread.

Thanks, Mike



10
mikesmin
Re: Fatal error: Call to undefined function: xoops_header()
  • 2003/12/30 17:29

  • mikesmin

  • Just popping in

  • Posts: 11

  • Since: 2003/2/10


It looks like my problem is with the XOOPS Physical Path. What is the main directory in the default XOOPS installation? Maybe, I'm pointing to the wrong directory.




TopTop
(1) 2 »



Login

Who's Online

181 user(s) are online (105 user(s) are browsing Support Forums)


Members: 0


Guests: 181


more...

Donat-O-Meter

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

Latest GitHub Commits