Social Media Magazine

Pligg 2 Out.php Not Working When Logged Out

Posted on the 05 October 2014 by Pro Webguru @prowebguru

After the announcement of Pligg 2.0, I was very eager to try out the latest version of Pligg CMS. Because there are so many changes, bug fixes. And one of the major changes is the introduction of the Bootstrap theme as the base theme for Pligg CMS. Having said that, now latest version of the Pligg CMS is with a Responsive Design, which is awesome.

I upgraded one of the local site installation to the latest version of the Pligg CMS. And it was working pretty well. It has a new better admin panel. Then I logged out the site after few experiments.

Next time when I tried to browse site, it was working but when I was clicking on out.php link, it was showing “Server Error 500” and I am now stuck at error page.

But after searching on Pligg Support site, I found a solution here. Thanks to new pligg support site.

The problem is that, there is some code which was checking whether session exists or not, if session doesn’t exist then that operation gets blocked throwing “Internal Server Error in out.php” file.

Solution for out.php not working in Latest Version of Pligg CMS - Pligg 2.0.0 RC1

Solution for out.php not working in Latest Version of Pligg CMS – Pligg 2.0.0 RC1

So basically to get rid of out.php not working problem, just follow the steps as mentioned …

  1. Login to your Cpanel.
  2. Go to root of your website and locate “config.php” file.
  3. Copy this file and give it a new name “out_config.php
  4. Edit this new file “out_config.php” and search “include_once(mnmmodules . ‘modules_init.php’);
  5. Then just comment this by putting // at the start of the line, so now it should look like “//include_once(mnmmodules . ‘modules_init.php’);
  6. Now Save and closeout_config.php
  7. Now open “out.php
  8. Search for “include(‘config.php’);
  9. Change this line to “include(‘out_config.php’);
  10. Save and close file.
  11. Its Done.

Now just go back to your website.

Visit any link when you are logged in and just logout. Then again visit same link again, it should be working now.

Pligg 2 out.php Not Working When Logged Outhttp://www.prowebguru.com/2014/10/pligg-2-out-php-not-working-when-logged-out/http://www.prowebguru.com/wp-content/uploads/pligg-2-out-php-not-working-solution.pnghttp://www.prowebguru.com/wp-content/uploads/pligg-2-out-php-not-working-solution-150x150.png05 October 2014 ProWebGuru Miscellaneouscms,free,Open SourceAfter the announcement of Pligg 2.0, I was very eager to try out the latest version of Pligg CMS. Because there are so many changes, bug fixes. And one of the major changes is the introduction of the Bootstrap theme as the base theme for Pligg CMS. Having said...After the <a title="Latest Version of Pligg Is Released - Check Pligg 2.0.0 RC1" href="http://www.prowebguru.com/2013/09/download-upgrade-to-pligg-cms-2-0-latest-version/" target="_blank">announcement of Pligg 2.0</a>, I was very eager to try out the latest version of Pligg CMS. Because there are so many changes, bug fixes. And one of the major changes is the introduction of the Bootstrap theme as the base theme for Pligg CMS. Having said that, now latest version of the Pligg CMS is with a Responsive Design, which is awesome.<span id="more-1346"></span> I upgraded one of the local site installation to the latest version of the Pligg CMS. And it was working pretty well. It has a new better admin panel. Then I logged out the site after few experiments. Next time when I tried to browse site, it was working but when I was clicking on out.php link, it was showing "<strong>Server Error 500</strong>" and I am now stuck at error page. But after searching on Pligg Support site, I found a solution <a title="Pligg 2 out.php not working, showing error" href="http://pligg.com/support/question/out-php-is-not-working-when-i-logged-out-pligg/" target="_blank">here</a>. Thanks to new pligg support site. The problem is that, there is some code which was checking whether session exists or not, if session doesn't exist then that operation gets blocked throwing "<strong>Internal Server Error in out.php</strong>" file. So basically to get rid of <strong>out.php not working problem</strong>, just follow the steps as mentioned ... <ol> <li>Login to your Cpanel.</li> <li>Go to root of your website and locate "<strong>config.php</strong>" file.</li> <li><strong>Copy</strong> this file and give it a new name "<strong>out_config.php</strong>"</li> <li>Edit this new file "out_config.php" and search "<strong>include_once(mnmmodules . 'modules_init.php');</strong>"</li> <li>Then just comment this by putting // at the start of the line, so now it should look like "<strong>//include_once(mnmmodules . 'modules_init.php');</strong>"</li> <li>Now <strong>Save and close</strong> "<strong>out_config.php</strong>"</li> <li>Now open "<strong>out.php</strong>"</li> <li>Search for "<strong>include('config.php');</strong>"</li> <li><strong>Change</strong> this line to "<strong>include('out_config.php');</strong>"</li> <li><strong>Save and close</strong> file.</li> <li>Its Done.</li> </ol> Now just go back to your website. Visit any link when you are logged in and just logout. Then again visit same link again, it should be working now. ProWebGuru103924578884522256081 [email protected]AdministratorProWebGuru

Back to Featured Articles on Logo Paperblog

COMMENTS ( 6 )

By Valentina Gorham
posted on 12 August at 19:44
Report spam/abuse

Quality content is the main to invite the viewers to visit the web site, that's what this web site is providing.

By Stacy Woodriff
posted on 17 June at 10:30
Report spam/abuse

Genuinely no matter if someone doesn't understand then its up to other visitors that they will help, so here it happens.

By Brigitte Cocks
posted on 22 March at 15:20
Report spam/abuse

Wonderful post! We will be linking to this particularly great article on our website. Keep up the good writing.

By Roscoe Manning
posted on 17 January at 22:00
Report spam/abuse

If you have returned for your online messenger, you find that you still cannot access to your webmail.

By Antwan Yanez
posted on 13 January at 00:14
Report spam/abuse

If your kitchen area is just not everything attractive looking, you can remodel it. This is one in the explanations why you'll want to use beautiful things. To save from excessive spending, you may actually find platform beds for sale.

By Annetta Dannevig
posted on 10 January at 13:03
Report spam/abuse

Should you take flash photography during competitive bowling such as league or tournament play.

If you're a first time spa goer, this article will give you an overview of how to be a good spa customer. Just don't forget to wear some socks and other stuff that will warm you up.