Members: 16,996
Threads: 38,846
Posts: 159,391
Online: 33

Newest Member: Kl_broka@rediffmail.com


Odoo.tv - Outdoor Television


Sedo - Domains kaufen und verkaufen das Projekt mambers.com steht zum Verkauf Besucherstatistiken von mambers.com etracker® Web-Controlling statt Logfile-Analyse

Go Back   Mambers.com > Mambo 4.5.1 > Mambo 4.5.1 Bugs

Reply
 
LinkBack Thread Tools Display Modes
Old 27.08.2004, 02:47   #1 (permalink)
Junior Mamber
 
Join Date: Jun 2004
Posts: 32
unity is on a distinguished road
Default Template Manager Problems in 4.5.1 - The Fix.

Credit to Alexander Krestinin for spotting this one. (also posted at Mamboserver)

Problem: Templates packaged with Mambo 4.5.1 (JavaBean, etc) don't appear in Template Manager and Template uploads fail with 'installation file not found' error.

Cause: This is a misconfiguration problem with PHP resulting from incomplete/incorrrect information given by the Mambo installer.

PHP.INI includes three different magic quotes switches.

magic_quotes_gpc: Default = ON
magic_quotes_runtime: Default = OFF
magic_quotes_sybase: Default = OFF

The Mambo installer recommends that magic quotes are turned on but does not differentiate between the three different switches and reports the setting for the magic_quotes_runtime switch.

As a result, on a standard PHP installation, the installer incorrectly reports that magic quotes are turned off.

Editing php.ini and turning the magic_quotes_runtime switch ON results in the installer reporting tht magic quotes are ON, however this causes DOMIT to fail when parsing XML packaging files which contain quotes.

FIX: Mambo requires that magic_quotes_gpc is set to ON and magic_quotes_runtime is set to OFF.

Edit php.ini and ensure that the magic quotes section is set as follows:

; Magic quotes
;

; Magic quotes for incoming GET/POST/Cookie data.
magic_quotes_gpc = On

; Magic quotes for runtime-generated data, e.g. data from SQL, from exec(), etc.
magic_quotes_runtime = Off

; Use Sybase-style magic quotes (escape ' with '' instead of \').
magic_quotes_sybase = Off
unity is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Sponsored Links
Old 27.08.2004, 03:00   #2 (permalink)
Junior Mamber
 
Join Date: Jun 2004
Posts: 32
unity is on a distinguished road
Default Re: Template Manager Problems in 4.5.1 - The Fix.

Quick Update.

Robert has updated RC1 at Mamboforge and the installer now provides the correct information regarding setting the magic quotes switches.
unity is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Old 27.08.2004, 03:53   #3 (permalink)
Junior Mamber
 
MasterChief's Avatar
 
Join Date: Jun 2004
Location: Australia
Posts: 37
MasterChief is on a distinguished road
Default Re: Template Manager Problems in 4.5.1 - The Fix.

Placing the following line near the top of /includes/mambo.php will also help:

@set_magic_quotes_runtime( 0 );
MasterChief is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Reply

Thread Tools
Display Modes

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 On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
Multi template hack (sub_template ) will it work in 4.5.1 beta 4 Graemezee Development Discussions 2 16.08.2004 13:23
How to set default template without template manager? aly Mambo 4.5 'How Do I' Questions 3 14.08.2004 03:16
Mambo 4.5.1 Template Competition... idigital Community Announcements 25 06.08.2004 03:09
template manager & component up/download issues in admin section moabman1 Mambo 4.5 General Talk 3 01.06.2004 20:19
Template manager problem PeeWee Mambo 4.5 Bugs 1 10.05.2004 08:43


All times are GMT +2. The time now is 11:33.

Powered by vBulletin® Version 3.7.2
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
SEO by vBSEO 3.1.0
A vBSkinworks Design
© Copyright 2004-2008 by Arthur Konze Webdesign.