hosted by liquidweb


Go Back   Web Hosting Talk : Web Hosting Main Forums : Hosting Security and Technology : mod_layout with PHP forum problem
Reply

Forum Jump

mod_layout with PHP forum problem

Reply Post New Thread In Hosting Security and Technology Subscription
 
Send news tip View All Posts Thread Tools Search this Thread Display Modes
  #1  
Old 08-12-2004, 02:32 PM
vovanus vovanus is offline
Junior Guru Wannabe
 
Join Date: Jul 2004
Posts: 32

mod_layout with PHP forum problem


Hi!
I'm using mod_layout and I have some problems with major bulletin board PHP scripts - phpBB and Invision board. When I am inserting any code with mod_layout I am getting the following:

No errors, no new records in apache or PHP logs, absolutely nothing? Anyone faced this problem? Any help will be appreciated.



Sponsored Links
  #2  
Old 08-12-2004, 04:29 PM
sprintserve sprintserve is offline
Retired Moderator
 
Join Date: Jan 2003
Posts: 9,009
Paste the code you are inserting. You must remember PHP scripts are parse as PHP. So whatever you insert must be something that will appear even after parsing.

__________________
Like us on Facebook to qualify for discounts!
http://www.sprintserve.net
Offering: | Internap FCP Bandwidth! | Rebootless Kernel Updates! | Magento Optimized Hosting | Wordpress Hosting |
Services: | Managed Multiple Cores 64bit Servers | Server Management |

  #3  
Old 08-12-2004, 04:36 PM
amelen amelen is offline
Web Hosting Guru
 
Join Date: Jan 2002
Location: New York, NY
Posts: 322
Change mod_layout from using the header command to the footer (on php pages) and that should fix it.

__________________
█ Alex Melen. CO-CEO at Melen, LLC - a NJ Digital Media Company.
█ Web Hosting, Internet Marketing and Web Development Solutions.
█ Multiple IP SEO Hosting & Servers (since 2009): http://www.hostseo.org.
█ Shared cPanel Web Hosting & Servers (since 1997): http://www.t35.com.

Sponsored Links
  #4  
Old 08-12-2004, 04:42 PM
amelen amelen is offline
Web Hosting Guru
 
Join Date: Jan 2002
Location: New York, NY
Posts: 322
Or better yet, don't let mod_layout touch php pages, and use the php function php footer or header to add content globally. (its added into httpd.conf)

__________________
█ Alex Melen. CO-CEO at Melen, LLC - a NJ Digital Media Company.
█ Web Hosting, Internet Marketing and Web Development Solutions.
█ Multiple IP SEO Hosting & Servers (since 2009): http://www.hostseo.org.
█ Shared cPanel Web Hosting & Servers (since 1997): http://www.t35.com.

  #5  
Old 08-13-2004, 02:56 AM
vovanus vovanus is offline
Junior Guru Wannabe
 
Join Date: Jul 2004
Posts: 32
It doesn't work with any code I insert - even if it is a space or some text. I've tried to use php_auto_prepend, but it does not work with forums - it has some problems with headers and I keep getting the page telling me that headers are already sent. What I want to insert is a little table; I have 2 ways to insert it: mod_layout and auto_prepend, but none of these works with bulletin board software.
I've tried to use it like footer - it does not help I am getting the same  with mod_layout

Reply

Related posts from TheWhir.com
Title Type Date Posted
Microsoft Exchange Online Outage of Over 8 Hours Frustrates Customers Web Hosting News 2014-06-25 11:23:55
Hackers Steal User Login Information from AVAST Anti-Virus Forum Web Hosting News 2014-05-27 13:46:25
More Downtime for HostGator and BlueHost Customers as Router Issues Plague Utah Data Center Web Hosting News 2014-05-01 08:33:57
HostGator Continues to Restore Hosting Services After Data Center Outage Web Hosting News 2013-11-20 16:54:54
The Green Grid to Host Forum 2013 in Santa Clara Web Hosting News 2013-01-08 14:13:07


Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes
Postbit Selector

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off

Forum Jump
Login:
Log in with your username and password
Username:
Password:



Forgot Password?
Advertisement:
Web Hosting News:
WHT Membership
WHT Membership



 

X

Welcome to WebHostingTalk.com

Create your username to jump into the discussion!

WebHostingTalk.com is the largest, most influentual web hosting community on the Internet. Join us by filling in the form below.


(4 digit year)

Already a member?