Nov 21, 2008 | 09:09 PM  
Welcome

Don't have an account yet? You can create one, it is free, just click here

as a registered user you have some advantages like free downloads, comments and posting on our forums, depending upon this site's configuration and options.

 • •  Control Panel - Register - Login  • • 
Current Stable MDPro Lite 1.0821 Download
  Forum FAQForum FAQ   SearchSearch  UsergroupsUsergroups  PreferencesPreferences  Options forumOptions forum  Watched TopicsWatched Topics  Watched ForumsWatched Forums
Latest forum posts Latest forum posts  Log in to check your private messages Log in to check your private messages    Log inLog in 
Post new topic   Reply to topic
View previous topic Printable version Log in to check your private messages View next topic
Author Message
MDMods.com
MD user level 5
MD user level 5


Joined: Jan 06, 2007
Posts: 55

Member
Post  Posted: Apr 12, 2007 - 02:04 AM Reply with quote Back to top
Post subject: Two large autorender bugs

Bug1:
Only a blank page is received if you've got a smarty error in a template and you set it up with atFastDisplay. Change it to atSmartyDisplay and you get the correct smarty error message

Bug2:
As Nate showed recently, hosts that run php in cgi mode will return something like the following for $_SERVER['SCRIPT_FILENAME']

Quote:
/dh/cgi-system/php.cgi


Since Autorender uses this method to find the plugins the whole system fails. I have attached a workaround for this that detects cgi installations and corrects the path statement. This is a major bug, as many of the bigger hosts use cgi and it makes Autorender useless

There are also a lot of extra global statements still in there that aren't needed. $HTTP_SERVER_VARS is a superglobal. There is no need for global $HTTP_SERVER_VARS; or global $GLOBALS;

There's also a lot of mixes between short arrays ie $_SERVER and long arrays ie $HTTP_SERVER_VARS still there as well that need to be dealt with

The fix has been tested on NateM's site and resolves his issue, to use it, simply extract and overwrite atAPI.php in \modules\Autorender\includes\

_________________
MDMods for all your MDLite module needs
View user's profile Visit poster's website
TiMax
Project Manager
Project Manager


Joined: July 31, 2003
Posts: 1560
Location: Quebec - Canada

Post  Posted: Apr 12, 2007 - 05:02 AM Reply with quote Back to top

Thanks we will check it asap, we are working around some small fix's and some new code to improve MDPro performances and we plan to release soon a small update package and so maybe we can include this fix too

_________________
TiMaxMAX s.o.s.Fantasia e dinamicità Italiane, qualità e servizi Canadesi Web Services, hosting ed housing professionali
View user's profile Visit poster's website AIM Address Yahoo Messenger MSN Messenger ICQ Number
TiMax
Project Manager
Project Manager


Joined: July 31, 2003
Posts: 1560
Location: Quebec - Canada

Post  Posted: Apr 12, 2007 - 05:06 AM Reply with quote Back to top

Sorry but your zip file is damaged

_________________
TiMaxMAX s.o.s.Fantasia e dinamicità Italiane, qualità e servizi Canadesi Web Services, hosting ed housing professionali
View user's profile Visit poster's website AIM Address Yahoo Messenger MSN Messenger ICQ Number
MDMods.com
MD user level 5
MD user level 5


Joined: Jan 06, 2007
Posts: 55

bannato
Post  Posted: Apr 12, 2007 - 06:14 AM Reply with quote Back to top

Nope, it corrupts everytime, despite the local copy being fine and me using another browser to upload it.

Uploaded it to my site http://www.mdmods.com/atAPI_cgi.zip

_________________
MDMods for all your MDLite module needs
View user's profile Visit poster's website
TiMax
Project Manager
Project Manager


Joined: July 31, 2003
Posts: 1560
Location: Quebec - Canada

Post  Posted: Apr 12, 2007 - 06:24 AM Reply with quote Back to top

hmmm ... I think this is a problem with MDForum, I will check it

_________________
TiMaxMAX s.o.s.Fantasia e dinamicità Italiane, qualità e servizi Canadesi Web Services, hosting ed housing professionali
View user's profile Visit poster's website AIM Address Yahoo Messenger MSN Messenger ICQ Number
TiMax
Project Manager
Project Manager


Joined: July 31, 2003
Posts: 1560
Location: Quebec - Canada

Post  Posted: Apr 12, 2007 - 06:25 AM Reply with quote Back to top

fixed now Smile

_________________
TiMaxMAX s.o.s.Fantasia e dinamicità Italiane, qualità e servizi Canadesi Web Services, hosting ed housing professionali
View user's profile Visit poster's website AIM Address Yahoo Messenger MSN Messenger ICQ Number
Display posts from previous:     
Jump to:  
All times are GMT + 13 Hours
Post new topic   Reply to topic
View previous topic Printable version Log in to check your private messages View next topic
Powered by MDForum 2.0.8© 2003-2007 MAXdev Team
Credits