Log in Register FAQ Memberlist Search Welcome to RCF - WHF Forum Index
alt : test.swf
Welcome to RCF - WHF
4fx3.gif 
calendar_open_closeCalendar 
Problem Installing all mods via Easymod
Post new topic   Reply to topic View previous topic :: View next topic
Goto page: 1, 2, 3, 4  Next
Welcome to RCF - WHF Forum Index -> Area 51 - phpBB & Easymod Tech Support Add To Bookmarks
Problem Installing all mods via Easymod
PostPosted: 03/19/2007 10:29 AM Reply with quote
Sparrow
Emp
Sparrow
Posts 17
Word Cnt. 766
BDay N/A
Sign N/A
Joined: Mar 19, 2007
Local time: 9:00 AM
blank.gif
Hello everyone, I just recently installed Easymod on one of my boards. But since installing it, I haven't actually been able to install any mods with it. I've read the readme & other faqs, in addition I've looked it up in the forums but haven't found any fixes yet. Basically the issue in a nutshell is that everytime I try to install any mod, I get the following error:

"Could not open [./mods/Anti-Spam_ACP_208/Anti-Spam_ACP.mod] for reading." it happens the same with all of my other addons, I'm not sure if all of the attributes are set correctly.

This particular mod I got was from http://www.lithiumstudios.org/phpBB3/vi ... p?f=25&t=4

The settings in easymod are the following:

writing: buffer & ftp
moving: automated ftp
___

ftp path to phpbb2: i've tried /phpbb as well as just plain phpbb and neither had any change.

FTP Debug Mode No
PHP FTP Extension No
Use FTP cache No

Easymod version: 0.3.0
___

My ftp layout is root/phpbb/admin/mods/mod name> and my version of phpbb is 2.0.2. I also noticed that when I change the attributes on my phpbb installation from 666 to 755 it changes it back to 666. Would this possibly be the problem? if so is there anything I can do to work around it besides switch web hosts?

Anyone have any idea of what's wrong with it? thanks Smile
Back to Top
View user's profile Find all posts by Emp Send private message  
Re: Problem Installing all mods via Easymod
PostPosted: 03/19/2007 11:00 AM Reply with quote
Site Admin
rb2d2
Site Admin
Posts 49593
Word Cnt. 2,756,445
BDay Apr 22
Sign Taurus
Sex Sex:Female
Joined: Sep 25, 2004
Local time: 8:00 AM
Location: Texas
texasC.gif
Hi Emp!   Welcome to RCF.

Nightrider, the resident Easy MOD expert, is off line right now but I'm sure as soon as he reads your post in an hour or so he will be able to help you.  In the mean time maybe some of the other phpBB knowledgeable people may drop by.

Make yourself at home and free free to look around.


sunny
Back to Top
View all pictures posted by this userView user's profile Find all posts by rb2d2 Send private message   Visit poster's website Phoogle Map
Re: Problem Installing all mods via Easymod
PostPosted: 03/19/2007 12:19 PM 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: 10:00 AM
Location: St Pete, FL
peace.gif
Welcome to RCF, Emp!!!

The problem you describe typically occurs on sites that require the file permissions to be something other than 644, which is the standard on most FTP servers.  It sounds like your Host requires the file permissions to be set to 666 on your server, which is strange unless you are on a Windows server.  If you are on a Windows server, did you try to use the Windows Server Install Option?  If not, you should try that first before we try anything else...



If you are not on a Windows server, you will probably have to install this modified version of EM designed to work on sites where the file permissions must be set to 755.  It also corrects the problem that you are describing.  If your host server software cannot adapt to file permissions set to 755 by EM, then we might have to tweak this so that the file permissions are automatically set to 666 for your server.  But try this first and see what happens...

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 Emp!!!

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: Problem Installing all mods via Easymod
PostPosted: 03/19/2007 1:02 PM Reply with quote
Sparrow
Emp
Sparrow
Posts 17
Word Cnt. 766
BDay N/A
Sign N/A
Joined: Mar 19, 2007
Local time: 9:00 AM
blank.gif
I tried reinstalling and setting it to the windows suggestion as you suggested but it wouldn't install, so i tried with the ftp option and it installed. But I still can't install the mod(same error). I can't change it from 666 to 755, it stays at 666 Sad
Back to Top
View user's profile Find all posts by Emp Send private message  
Re: Problem Installing all mods via Easymod
PostPosted: 03/19/2007 1:33 PM 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: 10:00 AM
Location: St Pete, FL
peace.gif
I imagine that the Anti-Spam_ACP.mod file permissions are set to 666.  Are your folder permissions set to 755 or 777?  Do you know that you are on a Windows server or did you try that option without knowing for sure???

You might need to modify the EM files again but instead of setting the file permissions to 755, you may need to have EM set them to 666.  If you are on a windows server, that shouldn't be necessary though...

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: Problem Installing all mods via Easymod
PostPosted: 03/19/2007 2:32 PM Reply with quote
Sparrow
Emp
Sparrow
Posts 17
Word Cnt. 766
BDay N/A
Sign N/A
Joined: Mar 19, 2007
Local time: 9:00 AM
blank.gif
The folders and files are set to 666 :/. I'm not certain if it's on a windows server or not, I tried that option without knowing for sure. But following your instructions with the modding of the mod seemed to do the trick Smile. One other question I have, can i update from 2.0.2 of phpbb to the latest(i think it's 2.0.22) COMPLETELY via easymod(I have a pretty heavily modded website so I would like to keep the existing mods on it)? if so how can I go about that? thanks Smile
Back to Top
View user's profile Find all posts by Emp Send private message  
Re: Problem Installing all mods via Easymod
PostPosted: 03/19/2007 3:29 PM 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: 10:00 AM
Location: St Pete, FL
peace.gif
Congratulations Emp!!!   Applause

Yes, you can update your heaviliy modded phpBB forum to the latest by using the phpBB Updates.  Unfortunately since phpBB.com is down, there is no way you can download them from their MOD DB at the moment.  I have no idea how much longer they will be down.  I have many of the phpBB Updates that I can make available, but I don't have updates going back to 2.0.2.  You will want to apply ALL of the phpBB Updates because there is no way to skip directly from 2.0.2 to 2.0.22.  I think my phpBB Updates start at 2.0.10 or 2.0.11...

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: Problem Installing all mods via Easymod
PostPosted: 03/19/2007 3:52 PM Reply with quote
Sparrow
Emp
Sparrow
Posts 17
Word Cnt. 766
BDay N/A
Sign N/A
Joined: Mar 19, 2007
Local time: 9:00 AM
blank.gif
Thanks for the help Smile. I went onto sourceforge and found mod files for 2.0.18 and above but only patch files for below, and the patch files don't seem to want to work(it gives a bunch of hunk failures whatever that is). I have the win32 version of the patch program btw. Don't suppose the 2.0.10 mod will let me go from 2.0.2 to that eh?Neutral
Back to Top
View user's profile Find all posts by Emp Send private message  
Re: Problem Installing all mods via Easymod
PostPosted: 03/19/2007 4:57 PM 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: 10:00 AM
Location: St Pete, FL
peace.gif
I really don't think SourceForge stores the phpBB Update MODs that you would need to update your modded forum from 2.0.2-2.0.22.  They usually provide patched files and full phpBB downloads, neither of which is what you want.  If you use them, you will lose all of your installed MODs...

There is no rule that you have to apply every single phpBB Update that comes out.  Some people prefer to skip some while others install every single one.  Most Updates are pretty decent and are easy to install and cause no problems.   But from 2.0.18-2.0.22, the phpBB Development team have been doing a lousy job and the Updates have caused more problems than they've resolved...

We are currently running 2.0.19 here in RCF and I have no plan to update to 2.0.22 since they are such a mess.  2.0.18 was pretty bad too and I've considered restoring back to 2.0.17, which was the last really decent phpBB Update...

That said, you can skip the 2.0.3-2.0.9 Updates if you want, but I don't recommend it.  Since many of the future updates depend on the changes from the earlier phpBB updates, it can get more and more difficult to apply them if the previous updates had not been applied as well...

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: Problem Installing all mods via Easymod
PostPosted: 03/19/2007 5:19 PM Reply with quote
Sparrow
Emp
Sparrow
Posts 17
Word Cnt. 766
BDay N/A
Sign N/A
Joined: Mar 19, 2007
Local time: 9:00 AM
blank.gif
I just want to install acp anti-spam as my site has some issues with spammers :/

I can't install ACP because it says:
____________
Critical Error

FIND FAILED: In file [admin/admin_users.php] could not find:

$message = $lang['User_deleted'] . '

' . sprintf($lang['Click_return_useradmin'], '', '') . '

' . sprintf($lang['Click_return_admin_index'], '', '');
message_die(GENERAL_MESSAGE, $message);

MOD script line #193

______

Which i suspect is being caused by 2.0.2 being not installed and the readme files call for 2.0.21 :/ anyone have any ideas?
Back to Top
View user's profile Find all posts by Emp Send private message  
 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, 4  Next
Page 1 of 4


Add To Bookmarks

 
  
  


  Google

Powered by phpBB © 2001, 2005 phpBB Group

Page generation time: 0.0992s (PHP: 62% - SQL: 38%) - SQL queries: 57 - GZIP disabled - Debug on