MemHT Portal is a Free PHP CMS and Blog
It permit the creation and the management online of websites with few and easy steps.
It's completelly customizable, expandable and suitable for all needs.
Moderators: Moderators
Forum RSS feedReply
Possible bug when using Templates block
AuthorText
crusnik
Junior Member
Avatar

Posts: 64
Contributes: 0

Gender: _NEUTRAL_
Online: No
Date: 22/05/2007 15:06
Possible bug when using Templates block
#post1073
I'm currently using v2.0 I'm not sure if the update will fix this, but I have had this problem since the very first version. It's not a big issue at the moment, since I'm only using one template, but will be a future problem for me. When I use the templates block to switch templates, I get the error below.

code
Warning: file_get_contents(lang.tmp): failed to open stream: No such file or directory in C:xampphtdocsxamppindex.php on line 2

Warning: Cannot modify header information - headers already sent by (output started at C:xampphtdocsxamppindex.php:2) in C:xampphtdocsxamppindex.php on line 3

When I hit the back button on my browser, I am taken to the template of my choice w/no problems. I will try and update to 2.5 today, and let you know if the problem still exists.

Edit* Update complete! Problem still exists. Let me know what you think. Thanks.....
Edited: 22/05/2007 15:22
Delete Edit Quote
 
mem
MemHT's Dad
Admin & Developer

Avatar

Posts: 5137
Contributes: 2480

Gender: _MALE_
Online: No
Date: 22/05/2007 18:36
Re: Possible bug when using Templates block
#post1075
Have you installed any mod to the portal? I'm talking about index.php, inc_functions.php, inc_header.php or inc_header_common.php

Because you're printing something in the browser before sending instructions to the header (cookies) and this is not possible in the original portal
Delete Edit Quote
 
crusnik
Junior Member
Avatar

Posts: 64
Contributes: 0

Gender: _NEUTRAL_
Online: No
Date: 24/05/2007 19:27
Re: Possible bug when using Templates block
#post1082
Nothing, Original files only. Have you tested this block on this site? I was gonna try but it is not present....
Delete Edit Quote
 
mem
MemHT's Dad
Admin & Developer

Avatar

Posts: 5137
Contributes: 2480

Gender: _MALE_
Online: No
Date: 24/05/2007 19:56
Re: Possible bug when using Templates block
#post1083
Yes it's present (for admin's only) and there are no problems
Delete Edit Quote
 
Reply
Tags Cloud
Advertising
News Archive
Language
Help MemHT Portal
Navigator
Users Block
Hi Guest
IP: 38.103.63.59

Username
Password
New files
MemHT Wiki
Friends
MemHT Portal is a free software released under the GNU/GPL License by Miltenovik Manojlo