PDA

View Full Version : how do i "run news_install.php"


twisted
6-24-05, 07:09 PM
hey. i am having a problem. i am modding my forum (http://www.vancity-vibes.com/forum/phpBB2/) and the mod_install.txt file told me that I should run "news_install.php" through my database. well I tried it and it came up with this:

#1064 - You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'run news_install.php' at line 1

also, the order of which to run queries/upload/edit files in his tutorial was like this:
# #-----[ SQL ]--------
#

run news_install.php

#
#-----[ UPLOAD ]------------------------------------------

admin_news.php to root/admin/
board_news.tpl to root/template/subSilver/admin/
functions_news.php to root/includes/
lang_admin_news to root/language/lang_english/
news_install.php to root
#
#-----[ OPEN ]------------------------------------------

now since news_install.php is meant to be uploaded, anybody who has a phpBB2 board would know that 'news_install.php' is not a default file that comes with a phpBB2 board. it's meant to be installed when using this mod. well that's fine, but if I am requesting it through mySQL then shouldn't I be running any type of command looking for 'news_install.php' AFTER I actually UPLOAD news_install.php?

i dunno...it just didn't seem to go in the right order. if im doing something really stupid here, PLEASSSSEE somebody help me and let me know. this is killing me...

thanks in advance,

-Matt-

codefreak
6-24-05, 07:14 PM
You just need to navigate to where news_install.php is located. IE: http://www.yourdomain.com/news/news_install.php

Once you do the script will run.

twisted
6-24-05, 07:25 PM
omg thank you very much codefreak. that worked fine. man i'm sorry im still getting used to all this code and stuff (just started getting into php about a month ago).

sorry for being a *******! :rolleyes:

thanks..

codefreak
6-24-05, 07:43 PM
No problem. The instructions should've been a bit more clear. I hate crappy install documentation LOL

twisted
6-25-05, 04:57 AM
yea i know. i hate ppl that write stupid mod install files.