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] Sorry NR, another EM Question :)
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] Sorry NR, another EM Question :)
PostPosted: 01/11/2007 5:26 PM Reply with quote
Citation
Karen
Citation
Posts 1253
Word Cnt. 68,166
BDay Nov 9
Sign Scorpio
Sex Sex:Female
Joined: Jan 06, 2006
Local time: 8:32 AM
greatbrE.gif
I'm trying to add this mod http://www.phpbb.com/phpBB/viewtopic.php?t=377087

I did my SQL change (I think!) and I'm trying to run the code changes through EM but I got an error.

I think I know why its not finding it, its because of another mod, but I'm not sure where the code should now go.

www.babydreamz.net/public/index.txt

And this is the error message...

Critical Error

FIND FAILED: In file [index.php] could not find:

$last_post .= ( $forum_data[$j]['user_id'] == ANONYMOUS ) ? ( ($forum_data[$j]['post_username'] != '' ) ? $forum_data[$j]['post_username'] . ' ' : $lang['Guest'] . ' ' ) : '' . $forum_data[$j]['username'] . ' ';

Thanks!  headbang
Back to Top
View user's profile Find all posts by Karen Send private message   Visit poster's website Phoogle Map
Re: [Solved] Sorry NR, another EM Question :)
PostPosted: 01/11/2007 11:46 PM Reply with quote
Citation
Glenn I
Citation
Posts 2152
Word Cnt. 78,257
BDay Jun 15
Sign Gemini
Sex Sex:Male
Joined: Apr 22, 2005
Local time: 6:32 PM
Location: Upside down
australC_1xa.gif
I'd say the find line is too long. Try shortening the find line

This is the line in your txt. file you linked to

Code:
$last_post .= ( $forum_data[$j]['user_id'] == ANONYMOUS ) ? ( ($forum_data[$j]['post_username'] != '' ) ? $forum_data[$j]['post_username'] . ' ' : $lang['Guest'] . ' ' ) : '<a href="' . append_sid("profile.$phpEx?mode=viewprofile&" . POST_USERS_URL . '='  . $forum_data[$j]['user_id']) . '"' . $style_color . '>' . $username_color . '</a> ';


I'd say change your mod file for the find command to

Code:
$last_post .= ( $forum_data[$j]['user_id']


Do a backup first and try that.
Back to Top
View user's profile Find all posts by Glenn I Send private message   Visit poster's website Phoogle Map
Re: [Solved] Sorry NR, another EM Question :)
PostPosted: 01/12/2007 4:27 AM Reply with quote
Citation
Karen
Citation
Posts 1253
Word Cnt. 68,166
BDay Nov 9
Sign Scorpio
Sex Sex:Female
Joined: Jan 06, 2006
Local time: 8:32 AM
greatbrE.gif
Cool I will! Thanks  headbang
Back to Top
View user's profile Find all posts by Karen Send private message   Visit poster's website Phoogle Map
Re: [Solved] Sorry NR, another EM Question :)
PostPosted: 01/12/2007 8:01 AM Reply with quote
Citation
Karen
Citation
Posts 1253
Word Cnt. 68,166
BDay Nov 9
Sign Scorpio
Sex Sex:Female
Joined: Jan 06, 2006
Local time: 8:32 AM
greatbrE.gif
Ok I did it and for every other error that happened and I did an SQL instruction and it all worked!!  headbang  headbang  headbang

(I get sooooo nervous doing things to my site so I'm so pleased with myself  Embarassed )

prayer for helping!
Back to Top
View user's profile Find all posts by Karen Send private message   Visit poster's website Phoogle Map
Re: Sorry NR, another EM Question :)
PostPosted: 01/12/2007 9: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: 4:32 AM
Location: St Pete, FL
peace.gif
Awesome.  Congratulations Karen!!!   Applause

Have you ever considered creating a Test board so that you can install these MODs and work out all problems?  That would decrease your stress level when installing anything into your community.  If you can get the MOD to install correctly in your Test board, then you would be able to do the same on your Live board.  If there are any problems during the MOD install on your Test board, you can work them out without ever disrupting your Live community...

dontknow
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] Sorry NR, another EM Question :)
PostPosted: 01/12/2007 9:23 AM Reply with quote
Citation
Karen
Citation
Posts 1253
Word Cnt. 68,166
BDay Nov 9
Sign Scorpio
Sex Sex:Female
Joined: Jan 06, 2006
Local time: 8:32 AM
greatbrE.gif
Yes I think I read a thread about it before, I have extra databases so I could do it but I'm not sure how it all works (I'll have to read the thread in question again) Actually I wanted to do another live board but not sure how to set it up and tie it in with babydreamz, as in a link to take you to the other board but that's a whole other problem  flower  hysterical2
Back to Top
View user's profile Find all posts by Karen Send private message   Visit poster's website Phoogle Map
Re: Sorry NR, another EM Question :)
PostPosted: 01/12/2007 12:21 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: 4:32 AM
Location: St Pete, FL
peace.gif
Creating Test phpBB Board

I can give you enough to get started.  

  1. The first thing you want to do is download all of your board files and folders to your PC.  
  2. Next, create a folder on your server called Test...
  3. Upload all of the board files and folders that you just downloaded to your PC back to your new Test folder...
  4. Create a new Test database
  5. Open the Test config.php file in your favorite editor and modify the dbname, dbuser, and dbpasswd settings to match your new Test Database
  6. Create a database backup of your Live board database from your ACP...
  7. Restore your new database backup back to your new Test database.  This will probably take a long time.  You will probably need some help with this step unless you are very familiar with phpMyAdmin...
  8. Modify phpbb_config table settings in your Test database that contain a full or partial board path to match the URL path on your new board


Your new Test board should be good to go at this point.  My instructions above may take some time to accomplish, but it is worth it to have a Test board available to test install new MODs that you want to install on your Live board.

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] Sorry NR, another EM Question :)
PostPosted: 01/12/2007 12:41 PM Reply with quote
Citation
Karen
Citation
Posts 1253
Word Cnt. 68,166
BDay Nov 9
Sign Scorpio
Sex Sex:Female
Joined: Jan 06, 2006
Local time: 8:32 AM
greatbrE.gif
Fantastic!  Just want to say thanks for all your help, you're a fab teacher  headbang

I  will more than likely need help with  
Quote:
No 7 -  Restore your new database backup back to your new Test database.  This will probably take a long time.  You will probably need some help with this step unless you are very familiar with phpMyAdmin...


But I'll have a good read and see what I need to do.
Back to Top
View user's profile Find all posts by Karen Send private message   Visit poster's website Phoogle Map
Re: Sorry NR, another EM Question :)
PostPosted: 01/12/2007 1:44 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: 4:32 AM
Location: St Pete, FL
peace.gif
Number 7 shouldn't be that hard either.  PhpMyAdmin has a nice function that you can use to duplicate your database.  Go into phpMyAdmin and if the database is not selected, go ahead and do so.  Then click on the Operations tab on the right and scroll down to the Copy database to section:



Enter test into the edit widow and make sure that Structure and data and Create Database before copying are both selected.  You might want to select the Switch to copied database option too so that you can check it out when done.  Then press the Go button.  In a few minutes, you should have a new database that is identical to your Live database.  You can then edit the config.php file to use the new test database...

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] Sorry NR, another EM Question :)
PostPosted: 03/04/2007 6:06 PM Reply with quote
Citation
Karen
Citation
Posts 1253
Word Cnt. 68,166
BDay Nov 9
Sign Scorpio
Sex Sex:Female
Joined: Jan 06, 2006
Local time: 8:32 AM
greatbrE.gif
I'm having a go at doing this but I'm stuck where you said click on the operations tab. I can't find that anywhere. Would it be the same as 'Export'?
Back to Top
View user's profile Find all posts by Karen Send private message   Visit poster's website Phoogle Map
 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.0928s (PHP: 55% - SQL: 45%) - SQL queries: 57 - GZIP disabled - Debug on