Grey Matter Forums
« Preview Entry Gives Error »

Welcome Guest. Please Login or Register.
Sept 2, 2010, 9:55am



Greymatter: Free Personal Blogging Software

About Greymatter (including System Requirements)

Greymatter on FreshMeat

Download current version from:

News: Greymatter 1.8.2 is released! Read the announcement.

Got a minute? We want to know what's your preferred site navigation?

Please read the security announcement regarding author passwords.

Next Greymatter release will be 1.8.3


Grey Matter Forums :: Development :: Bug Reports :: Preview Entry Gives Error
   [Search This Thread][Send Topic To Friend] [Print]
 AuthorTopic: Preview Entry Gives Error (Read 897 times)
coldstone
Global Moderator
*****
member is offline

[avatar]


[homepage]

Joined: Aug 2006
Posts: 816
Karma: 18
 Preview Entry Gives Error
« Thread Started on Mar 27, 2007, 11:30pm »

Versions Affected: GreyMatter 1.7.2 and 1.7.2.3
Severity: Minor (loss of minor functionality)
Issue Description: When authors Preview an Entry and then attempt to post it or re-edit it, GM will report an error.

Resolution: To fix this defect without modifying the code, simply use the browser's Back button to return to the Add New Entry screen.

To fix the code, modify the Gm_Web.cgi file. Around line 308.
From:
Code:
unless( $name =~ m/^edited/i || $name =~ m/template$/i ){

To:
Code:
unless( $name =~ m/^edited/i || $name =~ m/template$/i || $name =~ m/^newentry/i ){


This will be fixed in GM 1.7.3
« Last Edit: May 7, 2007, 11:01pm by coldstone »Link to Post - Back to Top  IP: Logged
   [Search This Thread][Send Topic To Friend] [Print]

Google
Webgreymatterforum.proboards.com
Click Here To Make This Board Ad-Free


This Board Hosted For FREE By ProBoards
Get Your Own Free Message Boards & Free Forums!
Terms of Service | Privacy Policy | Report Abuse | Mobile