Simple Machines Community Forum

SMF Support => Converting to SMF => phpBB => Topic started by: Celtland on June 13, 2005, 07:52:51 PM

Title: phpBB to SMF: Smiley Problem
Post by: Celtland on June 13, 2005, 07:52:51 PM
Hello, I am in the process of testing conversion from phpBB to SMF.  In the process I have encountered some errors.  The first came in Step 1 with several "not a valid stream resource" errors.  I found a post that said to chmod Settings.php to 777 - and that fixed the errors.  Should I change the permissions back to 644 now?  The next problem was the following:

Converting smileys...
Warning: copy(/home/modstoth/public_html/mttm_forums/Smileys/default/icon_biggrin.gif): failed to open stream: Permission denied in /home/modstoth/public_html/mttm_forums/phpbb2_to_smf.php on line 2589

Warning: copy(/home/modstoth/public_html/mttm_forums/Smileys/default/icon_smile.gif): failed to open stream: Permission denied in /home/modstoth/public_html/mttm_forums/phpbb2_to_smf.php on line 2589

Warning: copy(/home/modstoth/public_html/mttm_forums/Smileys/default/bonk.gif): failed to open stream: Permission denied in /home/modstoth/public_html/mttm_forums/phpbb2_to_smf.php on line 2589

Warning: copy(/home/modstoth/public_html/mttm_forums/Smileys/default/icon_can5.gif): failed to open stream: Permission denied in /home/modstoth/public_html/mttm_forums/phpbb2_to_smf.php on line 2589

Warning: copy(/home/modstoth/public_html/mttm_forums/Smileys/default/icon_sad.gif): failed to open stream: Permission denied in /home/modstoth/public_html/mttm_forums/phpbb2_to_smf.php on line 2589


... with a lot more errors afterwards - all in Smileys/default.  I took this to mean that the Themes/default folder needed to be allowed writing access and changed its permissions to 777 for the conversion - then changed it back to 755.  That seemed to fix it as all smileys made it over.  Was that the correct thing to do?
Title: Re: phpBB to SMF: Smiley Problem
Post by: dtm.exe on June 13, 2005, 09:01:02 PM
Honestly, you should be fine leaving it at 777.  See "Why chmod 777 is NOT a security risk".

http://www.simplemachines.org/community/index.php?topic=2987.0

-Dan The Man
Title: Re: phpBB to SMF: Smiley Problem
Post by: Celtland on June 13, 2005, 09:05:58 PM
Thanks - that explains it very well.
Title: Re: phpBB to SMF: Smiley Problem
Post by: dtm.exe on June 13, 2005, 09:15:21 PM
Quote from: Celtland on June 13, 2005, 09:05:58 PM
Thanks - that explains it very well.

No problem :).

-Dan The Man