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] Attachment mod install via EM problem
Post new topic   Reply to topic View previous topic :: View next topic
Goto page: Previous  1, 2
Welcome to RCF - WHF Forum Index -> Area 51 - phpBB & Easymod Tech Support Add To Bookmarks
Re: [Solved] Attachment mod install via EM problem
PostPosted: 05/08/2007 11:25 AM Reply with quote
Sparrow
jefft
Sparrow
Posts 10
Word Cnt. 1,317
BDay N/A
Sign N/A
Joined: May 06, 2007
Local time: 8:09 AM
Location: Berkeley, CA
usaCa.gif
Tried the first two methods (constants.php and .htaccess).  Still get a blank page with no messages.  Maybe I'll need to start inserting debug print statements into one of the EM php files.
Back to Top
View user's profile Find all posts by jefft Send private message  
Re: [Solved] Attachment mod install via EM problem
PostPosted: 05/08/2007 2:06 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: 12:09 PM
Location: St Pete, FL
peace.gif
I don't imagine that would work either.  You would probably still get a blank page and never see the error messages...

Try this.  Remove the COPY section from the m2f_phpbb20x.txt script and see if that makes any difference:

Code:
#
#-----[ COPY ]------------------------------------------
#
# 1. Copy M2F to <phpBB_dir>/m2f
# 2. Copy M2F's additional scripts and templates to <phpBB_dir>
# 3. Install the M2F config file
#

copy *.*                               to m2f/
copy root/*.*                          to /
copy m2f_config.php.dist               to m2f/m2f_config.php

We need to figure out what's causing this problem from the MOD script.  Then we might have a better idea of where to look to figure out how to fix it...

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] Attachment mod install via EM problem
PostPosted: 05/09/2007 9:57 AM Reply with quote
Sparrow
jefft
Sparrow
Posts 10
Word Cnt. 1,317
BDay N/A
Sign N/A
Joined: May 06, 2007
Local time: 8:09 AM
Location: Berkeley, CA
usaCa.gif
Ok.  After experimenting, I've determined that commenting out just the first line in the copy section, i.e. making the first line be:
# copy *.*                               to m2f/
seems to clear up the problem.  I did not try a full install.  I just determined that:
A. with that command not commented out (original m2f_phpbb20x.txt file), I get a blank screen when going to step 2 (step 2 is never displayed, just a blank screen).
B. With that command commented out, EM does go to step 2 and everything seems normal.  I did not try going to step 3.
Should I do anything else to help diagnose this problem?  It would be nice to determine why it occurs on my system, but not others.
Back to Top
View user's profile Find all posts by jefft Send private message  
Re: [Solved] Attachment mod install via EM problem
PostPosted: 05/10/2007 12:51 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: 12:09 PM
Location: St Pete, FL
peace.gif
Ok, it sounds like your server software may have a problem with wildcards too.  These COPY commands are wrong, yet EM should have been able to tell you so.  Let's try an experiment and see what your server will allow...

First try this:

OPEN
m2f_phpbb20x.txt

FIND
Code:
#
#-----[ COPY ]------------------------------------------
#
# 1. Copy M2F to <phpBB_dir>/m2f
# 2. Copy M2F's additional scripts and templates to <phpBB_dir>
# 3. Install the M2F config file
#

copy *.*                               to m2f/
copy root/*.*                          to /
copy m2f_config.php.dist               to m2f/m2f_config.php

REPLACE WITH
Code:
#
#-----[ COPY ]------------------------------------------
#
copy *.* to m2f/*.*
copy root/*.* to *.*
copy m2f_config.php.dist to m2f/m2f_config.php

Save, upload, and try again using EM...

If that doesn't work, then try this:

OPEN
m2f_phpbb20x.txt

FIND
Code:
#
#-----[ COPY ]------------------------------------------
#
copy *.* to m2f/*.*
copy root/*.* to *.*
copy m2f_config.php.dist to m2f/m2f_config.php

REPLACE WITH
Code:
#
#-----[ COPY ]------------------------------------------
#
# 1. Copy M2F to <phpBB_dir>/m2f
# 2. Copy M2F's additional scripts and templates to <phpBB_dir>
# 3. Install the M2F config file
#
copy *.php to m2f/*.php
copy *.sh to m2f/*.sh
copy m2f_config.php.dist to m2f/m2f_config.php
copy includes/*.php to m2f/includes/*.php
copy includes/pear/*.* to m2f/includes/pear/*.*
copy includes/pear/.channels/*.reg to m2f/includes/pear/.channels/*.reg
copy includes/pear/.channels/.alias/*.txt to m2f/includes/pear/.channels/.alias/*.txt
copy includes/pear/.registry/*.reg to m2f/includes/pear/.registry/*.reg
copy includes/pear/.registry/.channel.__uri/*.* to m2f/includes/pear/.registry/.channel.__uri/*.*
copy includes/pear/.registry/.channel.pecl.php.net/*.* to m2f/includes/pear/.registry/.channel.pecl.php.net/*.*
copy includes/pear/Archive/*.php to m2f/includes/pear/Archive/*.php
copy includes/pear/Auth/*.php to m2f/includes/pear/Auth/*.php
copy includes/pear/Auth/SASL/*.php to m2f/includes/pear/Auth/SASL/*.php
copy includes/pear/Console/*.php to m2f/includes/pear/Console/*.php
copy includes/pear/DB/*.php to m2f/includes/pear/DB/*.php
copy includes/pear/Log/*.php to m2f/includes/pear/Log/*.php
copy includes/pear/Mail/*.php to m2f/includes/pear/Mail/*.php
copy includes/pear/Net/*.php to m2f/includes/pear/Net/*.php
copy includes/pear/OS/*.php to m2f/includes/pear/OS/*.php
copy includes/pear/PEAR/*.php to m2f/includes/pear/PEAR/*.php
copy includes/pear/PEAR/ChannelFile/*.php to m2f/includes/pear/PEAR/ChannelFile/*.php
copy includes/pear/PEAR/Command/*.* to m2f/includes/pear/PEAR/Command/*.*
copy includes/pear/PEAR/Downloader/*.php to m2f/includes/pear/PEAR/Downloader/*.php
copy includes/pear/PEAR/Frontend/*.php to m2f/includes/pear/PEAR/Frontend/*.php
copy includes/pear/PEAR/Installer/*.php to m2f/includes/pear/PEAR/Installer/*.php
copy includes/pear/PEAR/Installer/Role/*.* to m2f/includes/pear/PEAR/Installer/Role/*.*
copy includes/pear/PEAR/PackageFile/*.php to m2f/includes/pear/PEAR/PackageFile/*.php
copy includes/pear/PEAR/PackageFile/Generator/*.php to m2f/includes/pear/PEAR/PackageFile/Generator/*.php
copy includes/pear/PEAR/PackageFile/Parser/*.php to m2f/includes/pear/PEAR/PackageFile/Parser/*.php
copy includes/pear/PEAR/PackageFile/v2/*.php to m2f/includes/pear/PEAR/PackageFile/v2/*.php
copy includes/pear/PEAR/REST/*.php to m2f/includes/pear/PEAR/REST/*.php
copy includes/pear/PEAR/Task/*.php to m2f/includes/pear/PEAR/Task/*.php
copy includes/pear/PEAR/Task/Postinstallscript/*.php to m2f/includes/pear/PEAR/Task/Postinstallscript/*.php
copy includes/pear/PEAR/Task/Replace/*.php to m2f/includes/pear/PEAR/Task/Replace/*.php
copy includes/pear/PEAR/Task/Unixeol/*.php to m2f/includes/pear/PEAR/Task/Unixeol/*.php
copy includes/pear/PEAR/Task/Windowseol/*.php to m2f/includes/pear/PEAR/Task/Windowseol/*.php
copy includes/pear/PEAR/Validator/*.php to m2f/includes/pear/PEAR/Validator/*.php
copy db/*.php to m2f/db/*.php
copy docs/*.php to m2f/docs/*.php
copy root/*.php to *.php
copy root/admin/*.php to admin/*.php
copy root/templates/subSilver/*.tpl to templates/subSilver/*.tpl
copy root/templates/subSilver/admin/*.tpl to templates/subSilver/admin/*.tpl
copy root/templates/subSilver/images/*.gif to templates/subSilver/images/*.gif

Save, upload, and try again using EM...

If this doesn't work, we could list every single file in the copy section, but it might be easier to manually move the files in place and just remove the COPY section from the MOD script altogether...

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] Attachment mod install via EM problem
PostPosted: 05/11/2007 11:21 PM Reply with quote
Sparrow
jefft
Sparrow
Posts 10
Word Cnt. 1,317
BDay N/A
Sign N/A
Joined: May 06, 2007
Local time: 8:09 AM
Location: Berkeley, CA
usaCa.gif
Still gives a blank page with both chages.  As before, blank page is generated when clicking to go from Step 1 to Step 2.  On the first page (Step 1 of 3), EM display's a message saying: "Processing completed successfully!" and lists the copy commands.  So it was able to read the commands.  Also, I have EM set to use the FTP method.  I'm not sure why it's not working.  I agree, it's probably easier to just copy the files manually.  I thought it would be good to track down why EM is failing.  If you can't think of anything else to try, that's fine.  I can still get the module installed and have EM do everything but the first copy command.
Back to Top
View user's profile Find all posts by jefft Send private message  
Re: [Solved] Attachment mod install via EM problem
PostPosted: 05/11/2007 11:34 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: 12:09 PM
Location: St Pete, FL
peace.gif
Ok, let's try something else to see if it makes any difference.  Go into EM Settings in your ACP MOD Center and change the PHP FTP Extensions setting to No and change localhost to your FTP Server address and press Submit.  Then try installing the MOD again and see if that makes any difference...

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] Attachment mod install via EM problem
PostPosted: 05/12/2007 12:54 AM Reply with quote
Sparrow
jefft
Sparrow
Posts 10
Word Cnt. 1,317
BDay N/A
Sign N/A
Joined: May 06, 2007
Local time: 8:09 AM
Location: Berkeley, CA
usaCa.gif
No difference.  Still get the blank page when starting step 2.  Tested with the last set of changes you gave for the  m2f_phpbb20x.txt and also with the original copy commands in that file.  Got the blank page with both.  As has always happened when I changed EM settings, after changing the EM FTP settings, EM reported that everything was ok in the test FTP (was able to write to phpBB root).
Back to Top
View user's profile Find all posts by jefft Send private message  
Re: [Solved] Attachment mod install via EM problem
PostPosted: 05/12/2007 1:13 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: 12:09 PM
Location: St Pete, FL
peace.gif
Ok, I want you to try one more experiment.  Go back into EM Settings in your ACP MOD Center and change the Writing setting to Server and the Moving setting to Copy, then press the Update Settings button.  Then try the MOD install again...



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] Attachment mod install via EM problem
PostPosted: 05/12/2007 1:37 AM Reply with quote
Sparrow
jefft
Sparrow
Posts 10
Word Cnt. 1,317
BDay N/A
Sign N/A
Joined: May 06, 2007
Local time: 8:09 AM
Location: Berkeley, CA
usaCa.gif
Get the following when starting the install of mail2forum:
Installation Failed

EasyMOD encountered the following error(s). A general error could be ABC. A critical error means D and you should do XYZ.

Error Detail

Critical Error

Function Trace: open_files[5]->modio_open[3]

Could not open [./mods/m2f/processed/includes/functions_post.php.txt] for writing.
MOD script line #52 :: FAQ :: Report
MOD Data
MOD Title: Mail2Forum     See m2f_common.php     m2f_phpbb20x.txt
Author: Pda0     N/A     M2F Team     http://www.mail2forum.com
Processed Themes: subSilver
Processed Languages: english
Files Edited: 0
Commands Processed: 1
Unprocessed Commands: 0

The following commands were not recognized by EasyMOD and were ignored. The MOD script line number is displayed.
Unprocessed Commands

EasyMOD successfully processed the following commands:
Commands Processed
COPY     #39

copy *.*                               to m2f/
copy root/*.*                          to /
copy m2f_config.php.dist               to m2f/m2f_config.php

=== Additional info (from me):
Due to comments I put in at the top, line number 52 in my m2f_phpbb20x.txt is the OPEN, i.e.:
#-----[ OPEN ]------------------------------------------
#
includes/functions_post.php
Back to Top
View user's profile Find all posts by jefft Send private message  
Re: [Solved] Attachment mod install via EM problem
PostPosted: 05/12/2007 2:05 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: 12:09 PM
Location: St Pete, FL
peace.gif
Damn, at first glance, I thought this was progress.  Do you want me to take a closer look at it for you?  If so, send me a PM and we can go from there.  If not, we can continue experimenting until we find a workable solution...

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
 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: Previous  1, 2
Page 2 of 2


Add To Bookmarks

 
  
  


  Google

Powered by phpBB © 2001, 2005 phpBB Group

Page generation time: 0.1016s (PHP: 57% - SQL: 43%) - SQL queries: 57 - GZIP disabled - Debug on