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 with installing games mod (can't find update [DB] in ACP that's all)
Post new topic   Reply to topic View previous topic :: View next topic
Goto page: Previous  1, 2, 3, 4, 5, 6  Next
Welcome to RCF - WHF Forum Index -> Area 51 - phpBB & Easymod Tech Support Add To Bookmarks
Re: [Solved] Help with installing games mod (can't find update [DB] in ACP that's all)
PostPosted: 04/03/2007 6:10 PM Reply with quote
Citation
Chris Powell
Citation
Posts 1332
Word Cnt. 86,126
BDay Feb 11
Sign Aquarius
Sex Sex:Male
Joined: Mar 31, 2007
Local time: 5:26 AM
Location: Birmingham, UK.
greatbrE.gif
I copied all the files from the test folder to hard disk drive then uploaded them back to the root folder and imported a backup of the test mysql database into the live boards mysql database as well as changed the script_path and cookie_path back to the original values but when loading up the live board I’m getting this error

Quote:
Parse error: syntax error, unexpected T_IF in /home/djpassio/public_html/djpassions/includes/constants_arcade.php on line 1


Oh bummer  Embarassed Sad
Back to Top
View user's profile Find all posts by Chris Powell Send private message   Visit poster's website
Re: [Solved] Help with installing games mod (can't find update [DB] in ACP that's all)
PostPosted: 04/03/2007 6:28 PM Reply with quote
Citation
Chris Powell
Citation
Posts 1332
Word Cnt. 86,126
BDay Feb 11
Sign Aquarius
Sex Sex:Male
Joined: Mar 31, 2007
Local time: 5:26 AM
Location: Birmingham, UK.
greatbrE.gif
it's ok i've done it now, I had to remove the following code from constants_arcade.php that was all

Quote:
if ( !defined('IN_PHPBB') || $HTTP_GET_VARS['phpbb_root_path'])
{
die("Hacking attempt");
}
 Dancing
Back to Top
View user's profile Find all posts by Chris Powell Send private message   Visit poster's website
Re: [Solved] Help with installing games mod (can't find update [DB] in ACP that's all)
PostPosted: 04/03/2007 6:32 PM 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: 10:26 PM
Location: Texas
texasC.gif
Applause  blob8  Applause


wave
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: [Solved] Help with installing games mod (can't find update [DB] in ACP that's all)
PostPosted: 04/03/2007 6:45 PM Reply with quote
Citation
Chris Powell
Citation
Posts 1332
Word Cnt. 86,126
BDay Feb 11
Sign Aquarius
Sex Sex:Male
Joined: Mar 31, 2007
Local time: 5:26 AM
Location: Birmingham, UK.
greatbrE.gif
* bows gracefully  headbang
Back to Top
View user's profile Find all posts by Chris Powell Send private message   Visit poster's website
Re: [Solved] Help with installing games mod (can't find update [DB] in ACP that's all)
PostPosted: 04/04/2007 7:47 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:26 AM
Location: St Pete, FL
peace.gif
Chris Powell wrote:
it's ok i've done it now, I had to remove the following code from constants_arcade.php that was all

Quote:
if ( !defined('IN_PHPBB') || $HTTP_GET_VARS['phpbb_root_path'])
{
die("Hacking attempt");
}
 Dancing

Now why would you have to remove this code?  If this worked on your Test board, then it shouldn't have been a problem on your Live board either.  This code is there for a reason too, so you have removed a little security protection by removing this code...

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] Help with installing games mod (can't find update [DB] in ACP that's all)
PostPosted: 04/04/2007 7:55 AM Reply with quote
Citation
Chris Powell
Citation
Posts 1332
Word Cnt. 86,126
BDay Feb 11
Sign Aquarius
Sex Sex:Male
Joined: Mar 31, 2007
Local time: 5:26 AM
Location: Birmingham, UK.
greatbrE.gif
Hmmm, yeah it the Test Board did work ok with that code but the Live Board didn't. As I thought the code wasn't needed I removed the code for both Boards dontknow
Back to Top
View user's profile Find all posts by Chris Powell Send private message   Visit poster's website
Re: [Solved] Help with installing games mod (can't find update [DB] in ACP that's all)
PostPosted: 04/04/2007 8:22 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:26 AM
Location: St Pete, FL
peace.gif
The code is there to help prevent hackers from running the code and bypassing the security.  I can't see that they could do much if any damage from this, but you never know.  Some are pretty clever...

This is probably an example why you should be installing the MODs on the Live board rather than copying the files back and forth.  There is a whole lot more that can go wrong when copying so many files, folders, and data from one forum to another...

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] Help with installing games mod (can't find update [DB] in ACP that's all)
PostPosted: 04/04/2007 8:37 AM Reply with quote
Citation
Chris Powell
Citation
Posts 1332
Word Cnt. 86,126
BDay Feb 11
Sign Aquarius
Sex Sex:Male
Joined: Mar 31, 2007
Local time: 5:26 AM
Location: Birmingham, UK.
greatbrE.gif
Ok, so I messed up a bit then. I shall update a board in future rather than copy forum to forum etc.

I suppose I can't fix what I changed because of the sql error telling me to remove the hacking attempt info etc

All it must have been was I Transferred everything from the test board to live but a certain query wasn’t updated in the live databse or something hence was I was told to remove the hacking attempt (at a guess anyway)
Back to Top
View user's profile Find all posts by Chris Powell Send private message   Visit poster's website
Re: [Solved] Help with installing games mod (can't find update [DB] in ACP that's all)
PostPosted: 04/04/2007 8:52 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:26 AM
Location: St Pete, FL
peace.gif
The error said that you had a parse error, not a database error.  The parse error could be caused by a corrupt file if it occurred after uploading the files from one forum to another.  So uploading the affected file can often correct the problem...

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 with installing games mod (can't find update [DB] in ACP that's all)
PostPosted: 04/04/2007 9:01 AM Reply with quote
Citation
Chris Powell
Citation
Posts 1332
Word Cnt. 86,126
BDay Feb 11
Sign Aquarius
Sex Sex:Male
Joined: Mar 31, 2007
Local time: 5:26 AM
Location: Birmingham, UK.
greatbrE.gif
Oh ok, I can't remember what the code was so I can put it back Sad
Back to Top
View user's profile Find all posts by Chris Powell Send private message   Visit poster's website
 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, 3, 4, 5, 6  Next
Page 5 of 6


Add To Bookmarks

 
  
  


  Google

Powered by phpBB © 2001, 2005 phpBB Group

Page generation time: 0.0583s (PHP: 77% - SQL: 23%) - SQL queries: 57 - GZIP disabled - Debug on