This entry is in revision and can not be displayed

Please report bugs here!

Moderator: Thorsten

ITS Net Services
Posts: 16
Joined: Thu Apr 27, 2006 1:57 am

Post by ITS Net Services »

Thorsten
Posts: 15725
Joined: Tue Sep 25, 2001 11:14 am
Location: #phpmyfaq
Contact:

Post by Thorsten »

Hi,

I might have a fix. Could you please download a stable snapshot from our webpage and update your FAQ? Thanks!

bye
Thorsten
phpMyFAQ Maintainer and Lead Developer
amazon.de Wishlist
ITS Net Services
Posts: 16
Joined: Thu Apr 27, 2006 1:57 am

Post by ITS Net Services »

Yea, its gonna be a few hours though. Im in the middle of some designs for a client.
Thorsten
Posts: 15725
Joined: Tue Sep 25, 2001 11:14 am
Location: #phpmyfaq
Contact:

Post by Thorsten »

Hi,

no problem, the new snapshots will be generated in about 6 hours...

bye
Thorsten
phpMyFAQ Maintainer and Lead Developer
amazon.de Wishlist
ITS Net Services
Posts: 16
Joined: Thu Apr 27, 2006 1:57 am

Post by ITS Net Services »

Well, i installed the new snapshot on a website. But it was a different website and web server. But it did work. Later this evening i will get around to updating my own version and let you know how that turned out.
[url]http:///www.itsnetservices.com[/url]
Image
Thorsten
Posts: 15725
Joined: Tue Sep 25, 2001 11:14 am
Location: #phpmyfaq
Contact:

Post by Thorsten »

Hi,

it might be possible that you did not got the latest fixes according your posting time...

bye
Thorsten
phpMyFAQ Maintainer and Lead Developer
amazon.de Wishlist
abdogeo
Posts: 7
Joined: Thu Feb 15, 2007 4:18 am
Location: Sydney
Contact:

This entry is in revision and can not be displayed. V1.6.9

Post by abdogeo »

Hi There. I was going through this thread because I'm getting the same error message today.
I did check to make sure the entry is "active". Not sure what else I can do.
I'm running RHEL 4, and PMF 1.6.9

George
Thorsten
Posts: 15725
Joined: Tue Sep 25, 2001 11:14 am
Location: #phpmyfaq
Contact:

Post by Thorsten »

Hi,

did you run an update? You should update to 1.6.10 as soon as possible.

bye
Thorsten
phpMyFAQ Maintainer and Lead Developer
amazon.de Wishlist
abdogeo
Posts: 7
Joined: Thu Feb 15, 2007 4:18 am
Location: Sydney
Contact:

Not Setting the language causes this issue

Post by abdogeo »

Thanks Thorsten for the response.

I actually found out the because I commented out the language choice (it's a single language environment), the records are being stored in a state of limbo. When I re-enabled the language choice in the record creation page, the records showed up as expected. I'll post a reply to this for those who want to disable teh langauge selection menu but still set the language.
abdogeo
Posts: 7
Joined: Thu Feb 15, 2007 4:18 am
Location: Sydney
Contact:

Some changes to make langauage Selection Permanent

Post by abdogeo »

Hi All,

I use English as the only language of our FAQ, and I wanted to hide the language selection from the record forms. When I just did a plain comment out of the code, it caused the records to stay in the limbo called "this record is in revision". So I looked to another way of setting this:

In the functions.php file, I commented out the body of the

Code: Select all

function selectLanguages($default)
{
//modified by george
//    global $languageCodes;
//
//    $output = "<select class=\"language\" name=\"language\" id=\"language\" size=\"1\">\n";
//    $languages = getAvailableLanguages();
//
//    if (count($languages) > 0) {
//        foreach ($languages as $lang => $value) {
//            $output .= "\t<option value=\"".$lang."\"";
//            if ($lang == $default) {
//                $output .= " selected=\"selected\"";
//            }
//           $output .=  ">".$value."</option>\n";
//        }
//    } else {
//        $output .= "\t<option value=\"en\">".$languageCodes["EN"]."</option>";
//    }
//    $output .= "</select>\n";
[b]$output="<INPUT type=\"hidden\" name=\"language\" id=\"language\" value=\"en\">";
[/b]    return $output;
}
This essentially sets the language to EN. I also had to edit all instances where the language selection was taking place to comment it out:

Code: Select all

<label class="left" for="language" ><?php print $PMF_LANG["ad_entry_locale"]; ?>:</label>
But I did keep the "php code to print the form element:

Code: Select all

<?php print selectLanguages($lang); ?> 
I will be looking for a way to make language selection "permanent" through the preferences box, and submit any changes.
Thorsten
Posts: 15725
Joined: Tue Sep 25, 2001 11:14 am
Location: #phpmyfaq
Contact:

Post by Thorsten »

Hi,

okay, thanks a lot for your investigation! :-)

It's a longtime todo on our todo list for adding features if you don't need the multi-language support. :-)

bye
Thorsten
phpMyFAQ Maintainer and Lead Developer
amazon.de Wishlist
Post Reply