Log in Register FAQ Memberlist Search Welcome to RCF - WHF Forum Index
alt : test.swf
Welcome to RCF - WHF
4fx3.gif 
calendar_open_closeCalendar 
[Solved] EasyMOD Error 500
Post new topic   Reply to topic View previous topic :: View next topic
Goto page: 1, 2, 3  Next
Welcome to RCF - WHF Forum Index -> Area 51 - phpBB & Easymod Tech Support Add To Bookmarks
[Solved] EasyMOD Error 500
PostPosted: 04/25/2007 12:43 AM Reply with quote
Hawk
danrider
Hawk
Posts 193
Word Cnt. 9,285
BDay Jun 8
Sign Gemini
Sex Sex:Male
Joined: Apr 25, 2007
Local time: 8:15 PM
Location: Esperance, Australia
australC_1xa.gif
I have install EasyMOD with no trouble, in fact it ran very smoothly. The problem is that when i log into the admin panel and click on install mod it goes to error 500, it says the following "[forum.pegasus-outpost.com] [Tue Apr 24 08:20:44 2007] [error] [client [Details Removed For Safety Reasons] Premature end of script headers: admin_easymod.php, referer: http://forum.pegasus-outpost.com/admin/ ... 383d"

Please Help
Dan
Back to Top
View user's profile Find all posts by danrider Send private message [ Hidden ] Visit poster's website MSN Messenger Phoogle Map
Re: EasyMOD Error 500
PostPosted: 04/25/2007 12:49 AM Reply with quote
Site Admin
Nightrider
Site Admin
Posts 30757
Word Cnt. 2,628,690
BDay Jul 28
Sign Leo
Sex Sex:Male
Joined: Sep 25, 2004
Local time: 8:15 AM
Location: St Pete, FL
peace.gif
Welcome to RCF, danrider!!!   Applause

This happens on Awardspace and Lycos sites to name a few.  These hosts have different file permission settings than most other hosts.  EM by default sets file permissions to 644.  But Awardspace and Lycos sites require that the file permissions be set to 755.  So I modified the EM to work properly on sites like your's.  You will have to decrease the EM Version number in EM Settings in your ACP MOD Center before you can reinstall the following version.  Just set the EM Version number at the bottom of the EM Settings page to 0.2.0.  Then go ahead and reinstall the following version.  If you prefer to manually modify the code, I have included the necessary changes that need to be made for EM to work on your site too...

Awardspace Instructions w/Download

You can download this EM version that I have modified to work on Awardspace sites.  The file can be found in the  downloads/phpBB/EasyMod section at the top of the page.  Make sure that all uploaded file permissions are set to 755:

easymod_awardspace.zip

Here are the instructions for modifying your EM installation files if you choose to do it yourself rather than use the modified EM version that I supplied above:

Awardspace Modifications

Your board requires script file permissions to be set to 755 instead of 644 like most other boards.  So even if EM installs correctly, the EM file permissions would be set to 644...

Unfortunately for sites like your's, EM sets the file permissions to 644 when it modifies them.  So go into the following files to set all matches of 0644 to 0755 before you install EM:

  1. easymod/em_includes/em_modio.php
  2. easymod/em_includes/em_ftp.php


Also, modify the check_file_scope function in your easymod/includes/admin_easymod.php.txt file by copying and pasting the code:

OPEN
easymod/includes/admin_easymod.php.txt

FIND
Code:
if( !@file_exists(phpbb_realpath($filename)) || !strstr(phpbb_realpath($filename), phpbb_realpath($expected_scope)) )

REPLACE WITH
Code:
//if( !@file_exists(phpbb_realpath($filename)) || !strstr(phpbb_realpath($filename), phpbb_realpath($expected_scope)) )
   if( !@file_exists(phpbb_realpath($filename)) )

The check_file_scope function should now look like this:

Code:
function check_file_scope($filename, $expected_scope, $simply_die = false)
{
   global $db, $lang;

   // make sure a file is located somewhere inside the specified directory
   //if( !@file_exists(phpbb_realpath($filename)) || !strstr(phpbb_realpath($filename), phpbb_realpath($expected_scope)) )
   if( !@file_exists(phpbb_realpath($filename)) )
   {
      $message = sprintf($lang['EM_modio_open_read'], $filename);
      if( $simply_die )
      {
         $db->sql_close();
         die($message);
      }
      message_die(GENERAL_ERROR, $message);
   }
}

Save all the modified files and upload them to their proper sub-folders in the admin/mods/easymod folder.  Then go ahead and try the EM install again...


Laughing
Laughing Laughing
Laughing Laughing Laughing Laughing Laughing
Laughing Laughing Laughing Laughing Laughing Laughing Laughing Laughing Laughing

Welcome to RCF danrider!!!

Laughing Laughing Laughing Laughing Laughing Laughing Laughing Laughing Laughing
Laughing Laughing Laughing Laughing Laughing
Laughing Laughing
Laughing


headbang
Back to Top
View all pictures posted by this userView user's profile Find all posts by Nightrider Send private message   AIM Address Yahoo Messenger Phoogle Map ICQ Number
Re: [Solved] EasyMOD Error 500
PostPosted: 04/25/2007 12:56 AM Reply with quote
Hawk
danrider
Hawk
Posts 193
Word Cnt. 9,285
BDay Jun 8
Sign Gemini
Sex Sex:Male
Joined: Apr 25, 2007
Local time: 8:15 PM
Location: Esperance, Australia
australC_1xa.gif
Thanks, But i cant get to the EM settings, i click on it and it goes to Error 500 Sad
Back to Top
View user's profile Find all posts by danrider Send private message [ Hidden ] Visit poster's website MSN Messenger Phoogle Map
Re: EasyMOD Error 500
PostPosted: 04/25/2007 1:01 AM Reply with quote
Site Admin
Nightrider
Site Admin
Posts 30757
Word Cnt. 2,628,690
BDay Jul 28
Sign Leo
Sex Sex:Male
Joined: Sep 25, 2004
Local time: 8:15 AM
Location: St Pete, FL
peace.gif
Ok, you can use one of these three options to decrease the EM Version number in your phpbb_config table.  The first option is the easiest and fastest...

EM Version Change

If you have had EM installed before, you need to decrease the EM version number before you can reinstall it.  The EM Version number is stored in your phpbb_config table.  Here are 3 different ways to decrease EM's Version number...

EM Version Change

Before you can reinstall EM, you need to decrease the EM version number in your phpbb_config table...

  • EM Version Change Option 1

    I created this DB Update file that you can run from your browser.  Download and unzip the following file, then upload it to your phpBB root and run it from your browser:

    em_db_decrease_version.zip

    The path to the unzipped file might look something like this in your browser:

    http://yourdomain.com/forum/em_db_decrease_version.php

  • EM Version Change Option 2

    If you already had EM 0.3.0 installed, then you will need to change the EM Version back so that the install will think that this is an Upgrade.  You can use this tool to change your EM Version so that you can reinstall EM on your board:

    EM_Version_Changer

    Once the EM Version Changer is installed, set the EM version to 0.1.13 or 0.2.0...

  • EM Version Change (Manual Option 3)

    If you want to manually change the EM version, you can do so in your phpbb_config table.  Just look for the record beginning with EM_version.  Then you can change the related field to 0.1.13.  You could also delete all the records in the phpbb_config table that begin with EM_ and delete the phpbb_easymod table too to have the new install recreate everything...

    phpMyAdmin -  Manually Changing the EM Version Number

    The following is how you manually modify your EM password using phpMyAdmin.  You can get into your database through your CPanel by clicking on phpMyAdmin. Follow the following instructions:

    I'm sure that every host is different. I will tell you how I run my queries manually and hopefully it will be close to what you have available to you. The following may or may not be similar to what you have...

    Log into your domain Control Panel and find the database icons. You should be able to find the phpMyAdmin icon. Click on it...



    Hopefully that will log you into your phpAdmin panel. You may need to provide a username and password...

    In the phpMyAdmin panel, click on the Databases hyperlink...



    Hopefully that should take you where you can select your database. You may only have one. Select your database hyperlink...



    That should open up the display of all the tables in your database. Ignore them. Somewhere on the page, you should see something similar to this:



    Click on the phpbb_config table in the Left column navigation bar:



    Then on the top left of the right window, click on the Browse button:



    Then to display all the records, change the row settings to 500 starting with record 0, then press the Show button:



    Scroll down to the EM version field, then click on the little pencil icon next to the record to edit it:



    Enter the following into the config_value Value editbox.  Any version less than your current version will work...

    Code:
    0.1.13



    Then press the Go button.  You should now be able to reinstall EM...

    If you are still unclear on how to do this, send me a PM and I can probably reset your EM version for you...


headbang
Back to Top
View all pictures posted by this userView user's profile Find all posts by Nightrider Send private message   AIM Address Yahoo Messenger Phoogle Map ICQ Number
Re: [Solved] EasyMOD Error 500
PostPosted: 04/25/2007 1:15 AM Reply with quote
Hawk
danrider
Hawk
Posts 193
Word Cnt. 9,285
BDay Jun 8
Sign Gemini
Sex Sex:Male
Joined: Apr 25, 2007
Local time: 8:15 PM
Location: Esperance, Australia
australC_1xa.gif
Thank, I will try and do it as soon as my server comes back online  Brick wall
Back to Top
View user's profile Find all posts by danrider Send private message [ Hidden ] Visit poster's website MSN Messenger Phoogle Map
Re: EasyMOD Error 500
PostPosted: 04/25/2007 1:17 AM Reply with quote
Site Admin
Nightrider
Site Admin
Posts 30757
Word Cnt. 2,628,690
BDay Jul 28
Sign Leo
Sex Sex:Male
Joined: Sep 25, 2004
Local time: 8:15 AM
Location: St Pete, FL
peace.gif
Jeez, I hope that doesn't happen very often...

Good Luck danrider!!!

munky2
Back to Top
View all pictures posted by this userView user's profile Find all posts by Nightrider Send private message   AIM Address Yahoo Messenger Phoogle Map ICQ Number
Re: [Solved] EasyMOD Error 500
PostPosted: 04/25/2007 1:19 AM Reply with quote
Hawk
danrider
Hawk
Posts 193
Word Cnt. 9,285
BDay Jun 8
Sign Gemini
Sex Sex:Male
Joined: Apr 25, 2007
Local time: 8:15 PM
Location: Esperance, Australia
australC_1xa.gif
This is the first time, and thanks, call me Dan Razz

I have just received this notice:

Awardspace Support Team wrote:
AWARDSPACE [ AWARDSPACE.COM -- SYSTEM MAINTENANCE NOTICE! ]
On Tuesday night [April 24th] - Wednesday early morning [April 25th], 2007 CDT we will be performing servers upgrade on our network system. For this reason, during this time, problems of diverse nature might occur.

Maintenance aims to fulfill our hosting platform on GRID clustered 2xCore2Duo servers with 4Gigs of RAM, on RAID arrayed HDDs to ensure better performance.

We apologize for any difficulties this may cause and ask for your understanding.


Thank you for using our services!
AWARDSPACE Support Team
Back to Top
View user's profile Find all posts by danrider Send private message [ Hidden ] Visit poster's website MSN Messenger Phoogle Map
Re: EasyMOD Error 500
PostPosted: 04/25/2007 1:31 AM Reply with quote
Site Admin
Nightrider
Site Admin
Posts 30757
Word Cnt. 2,628,690
BDay Jul 28
Sign Leo
Sex Sex:Male
Joined: Sep 25, 2004
Local time: 8:15 AM
Location: St Pete, FL
peace.gif
That's ironic that they decided to do this just as we were getting ready to fix your problem.  Hopefully the maintenance won't take too long...

Brick wall
Back to Top
View all pictures posted by this userView user's profile Find all posts by Nightrider Send private message   AIM Address Yahoo Messenger Phoogle Map ICQ Number
Re: [Solved] EasyMOD Error 500
PostPosted: 04/25/2007 1:46 AM Reply with quote
Hawk
danrider
Hawk
Posts 193
Word Cnt. 9,285
BDay Jun 8
Sign Gemini
Sex Sex:Male
Joined: Apr 25, 2007
Local time: 8:15 PM
Location: Esperance, Australia
australC_1xa.gif
Yeah its a bit of a bummer, im guessing it will be done by the 26th
Back to Top
View user's profile Find all posts by danrider Send private message [ Hidden ] Visit poster's website MSN Messenger Phoogle Map
Re: EasyMOD Error 500
PostPosted: 04/25/2007 2:00 AM Reply with quote
Site Admin
Nightrider
Site Admin
Posts 30757
Word Cnt. 2,628,690
BDay Jul 28
Sign Leo
Sex Sex:Male
Joined: Sep 25, 2004
Local time: 8:15 AM
Location: St Pete, FL
peace.gif
It would have been nice if they could have given you an ETA in the email.  I guess you were lucky just to get the email...

munky2
Back to Top
View all pictures posted by this userView user's profile Find all posts by Nightrider Send private message   AIM Address Yahoo Messenger Phoogle Map ICQ Number
 Post new topic  Reply to topic
Information
Welcome to RCF - WHF Forum Index -> Area 51 - phpBB & Easymod Tech Support

You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
You cannot attach files in this forum
You cannot download files in this forum
All times are GMT - 5 Hours
Goto page: 1, 2, 3  Next
Page 1 of 3


Add To Bookmarks

 
  
  


  Google

Powered by phpBB © 2001, 2005 phpBB Group

Page generation time: 0.1356s (PHP: 65% - SQL: 35%) - SQL queries: 58 - GZIP disabled - Debug on