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] Help needed badly......
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
[Solved] Help needed badly......
PostPosted: 06/12/2007 8:32 AM Reply with quote
Citation
~^Karen^~
Citation
Posts 556
Word Cnt. 20,326
BDay Jan 26
Sign Aquarius
Sex Sex:Female
Joined: Nov 26, 2006
Local time: 8:21 PM
Location: west midlands:uk
greatbrE.gif
Admin wont work on either forums i get this error:

Code:
Fatal error: Call to undefined function: smilies_pass() in /home/toddlers/public_html/phpBB2/includes/page_header.php on line 378


it worked fine last nite on my live forum when i changed the acp announcment text, iv not touched anything neither, this is weird how can it be fine then, suddenly decide theres an error!
Back to Top
View user's profile Find all posts by ~^Karen^~ Send private message   Visit poster's website Yahoo Messenger MSN Messenger
Re: Help needed badly......
PostPosted: 06/12/2007 3: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: 3:21 PM
Location: St Pete, FL
peace.gif
This was caused by the addition of the Site Announcement code into the page_header.php flle.  This is what I did to correct the problem:

OPEN
includes/page_header.php

FIND
Code:
//BEGIN ACP Site Announcement Centre by lefty74

BEFORE, ADD
Code:
include_once($phpbb_root_path . 'includes/bbcode.' . $phpEx);

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] Help needed badly......
PostPosted: 06/12/2007 3:57 PM Reply with quote
Citation
~^Karen^~
Citation
Posts 556
Word Cnt. 20,326
BDay Jan 26
Sign Aquarius
Sex Sex:Female
Joined: Nov 26, 2006
Local time: 8:21 PM
Location: west midlands:uk
greatbrE.gif
ok thanks! It was just weird that it happened coz i was using admin last nite, i did have a look into it but i couldnt see the problem, plus not had much time today
Back to Top
View user's profile Find all posts by ~^Karen^~ Send private message   Visit poster's website Yahoo Messenger MSN Messenger
Re: Help needed badly......
PostPosted: 06/12/2007 5:17 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: 3:21 PM
Location: St Pete, FL
peace.gif
Unless you are a programmer, I'm not surprised that you wouldn't know what to do with that problem.  It wasn't an obvious fix for most...

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] Help needed badly......
PostPosted: 06/12/2007 7:28 PM Reply with quote
Dove
circleofatlantis
Dove
Posts 79
Word Cnt. 6,418
BDay N/A
Sign N/A
Sex Sex:Male
Joined: Jun 11, 2007
Local time: 5:21 AM
Location: Normally off the planet.
australC_1xa.gif
Once upon a time, I used to do that with Cobol. Was able to see and fix the unobvious. Also speciallised in emptying the too hard basket.

Alas, the world moved on and I didnt (not programming wise anyway) Sad

Is there anyway of removeing a mod if you cant get into admin ? Backing out the mod would have been my first inclination in this case.
Back to Top
View user's profile Find all posts by circleofatlantis Send private message [ Hidden ]
Re: Help needed badly......
PostPosted: 06/12/2007 9:31 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: 3:21 PM
Location: St Pete, FL
peace.gif
Believe it or not, I really enjoyed Cobol as well as RPG.  People thought I was crazy to enjoy them, but I could write some decent programs with both languages.  But I was able to move on as technology improved, so Delphi became my favorite language even though I wasn't fond of Pascal...

Yes, you can manually remove the MOD using EM's backups if you installed it using EM.  Following are both the manual and standard instructions for Restoring EM Backups.  I also wrote a small application that you are free to use to stip the txt extensions from all of the files.  This is especially handy if there were a lot of files modified by the MOD...

StripTxt.zip

If you need any help understanding how to use my little Strip Txt application, don't be shy about asking for assistance...

Restoring EM Backups

If a MOD that you installed with EM hosed your board or you decide that you just don't want it, simply go into EM History in your ACP MOD Center and click on the Details button next to the MOD entry..



On the bottom of the next page, select Restore Backups and press the Go button. Make sure you DON'T select the Remove Record option or you will be forced to manually rolll back the EM backups that were created for you. I will have to walk you through that if need be...



Next you will see a page to confirm the operation.  You would choose Yes:



MODs can only be uninstalled in reverse order that they were installed: FILO (First In, Last Out).  So if you installed a MOD, then several others, then decided to remove the first one, you would have to Restore the backups of the other MODs before you could Restore the backups on the first MOD...

Restoring EM Backups (Manual Instructions)

If you are unable to get into the ACP, you will need to use these manual instructions to Restore the EM Backups...

Download the backups folder that EM created for you in the MOD sub-folder found in admin/mods.  Strip the .txt extension from each file in every folder in the backups folder.  So the resulting file extensions will be php, tpl, css, and cfg.  Upload the files back to their proper locations on your board; i.e.  

  • copy backups/admin/*.* to phpBB/admin/*.*
  • copy backups/includes/*.* to phpBB/includes/*.*
  • copy backups/language/lang_english/*.* to phpBB/language/lang_english/*.*
  • copy backups/templates/subSilver/*.* to phpBB/templates/subSilver/*.*
  • copy backups/*.* to phpBB/*.*

Of course if you have alternate templates and language folders, you will need to copy the files for them as well.  I'm referring to phpBB as your forum's root folder in the above copy commands.  If your root folder has any other name, just substitute phpBB with the name of your forum's root folder name...

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] Help needed badly......
PostPosted: 06/12/2007 9:59 PM Reply with quote
Dove
circleofatlantis
Dove
Posts 79
Word Cnt. 6,418
BDay N/A
Sign N/A
Sex Sex:Male
Joined: Jun 11, 2007
Local time: 5:21 AM
Location: Normally off the planet.
australC_1xa.gif
Thanks for that. I've stored the url for later use if needed.

Quote:
Believe it or not, I really enjoyed Cobol as well as RPG.  People thought I was crazy to enjoy them, but I could write some decent programs with both languages.  But I was able to move on as technology improved, so Delphi became my favorite language even though I wasn't fond of Pascal...


I could do anything in Cobol once upon a time. If I put my mind to it. But then I ran afoul of a boss who didnt like me. Didnt help that one day he made a big presentation about his way of doing a job, and when he finished I said "What a load of crap" spontaniously, and when challenged for an alternative, my off the top of the head response was then adopted. Smile He spent the next 9 months trying to get rid of me, eventually succeeded and then I found I was effectively blackballed (old boys network), and left the computer industry for good. I still write cobol, but the old brain isnt up to what it once could do now.
Back to Top
View user's profile Find all posts by circleofatlantis Send private message [ Hidden ]
Re: Help needed badly......
PostPosted: 06/12/2007 10:17 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: 3:21 PM
Location: St Pete, FL
peace.gif
I've had my fair share of bad bosses too.  It seems like those who know the least or are worst at their jobs are the ones who get promoted to management in the computer industry.  I've seen it over and over and over again, so it seems to be more the norm than the exception...

violent1
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] Help needed badly......
PostPosted: 06/12/2007 10:33 PM Reply with quote
Dove
circleofatlantis
Dove
Posts 79
Word Cnt. 6,418
BDay N/A
Sign N/A
Sex Sex:Male
Joined: Jun 11, 2007
Local time: 5:21 AM
Location: Normally off the planet.
australC_1xa.gif
Thats why I left the industry. I got sick of bosses who wouldnt let me do what the user really needed, and do it as a non-bandaid. But then, I was more of an enhancement specialist than a new code writer. I could take anything already working albiet badly, and redesign it so it worked how the users wanted it and very rarely ever fell over.

I found most bosses in the industry were more interested in empire building and who controlled what, than in giving users what they needed to do their jobs better. And most of them were clueless about realistic project timing and costing. One of the reasons this boss didnt like me was the timing and budget I did on his pet project just after I started. It was done with the input of the #3 in the department, and shocked my boss and his boss so badly that the whole thing was scrapped. My estimate would ahve come in on time and budget (or very close to it), but was about 6 months longer than my bosses estimate. And he had a history I found later of undeestimating projects and then blaming the programmers for any over run. Sad
Back to Top
View user's profile Find all posts by circleofatlantis Send private message [ Hidden ]
Re: [Solved] Help needed badly......
PostPosted: 06/12/2007 10:46 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: 3:21 PM
Location: St Pete, FL
peace.gif
LOL  Not surprising.  I once asked my boss if I could work on a program that took over 12 hours to run and it had to be run successfully every day or it had to be started over.  The program was continually crashing, and each time it was restarted, it was at least another 12 hours of run time with no guarantee of completion.  My boss didn't think there was anything that could be fixed on the program, so he told me to leave it alone.  They actually hired someone to babysit just that one program just to make sure it was completed every single day...

I rewrote the program in my free time and got it so that it could fully run in under 45 minutes and it never crashed.  So there was no longer a need for an employee to babysit it and it ended up saving the company hundreds of thousands of dollars...

My boss tried to take credit for it, but I kept a paper trail and proved that he was against my actions to improve the program.  Needless to say, that boss tried to get me fired, but I kept a very long paper-trail on him and when the shit hit the fan, the company ended up paying me to do nothing rather than risk firing me.  I continued receiving my normal salary but never had to return to work for that boss or the company again.  I really should have milked that for as long as I could, but I chose to find a different job which released the company from its obligation...

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, 4  Next
Page 1 of 4


Add To Bookmarks

 
  
  


  Google

Powered by phpBB © 2001, 2005 phpBB Group

Page generation time: 0.0625s (PHP: 81% - SQL: 19%) - SQL queries: 58 - GZIP disabled - Debug on