Jump to content


Newbie needs help finding out why script is not working

  • Please log in to reply
3 replies to this topic

#1 osdesignz

  • New Members
  • Pip
  • Newbie
  • 2 posts

Posted 12 August 2006 - 04:02 AM

I'm a newbie to php so I wanted to see if someone can take a little time to help me figure out whats going on so that I can get my scripts to work. I've been messing with this for awhile now and going no where but the same place and same warnings and the same old ****. Here is the page that I'm trying to pullup: http://www.oldschool...utcms/index.php I must have the config.php file setup wrong plus I have now idea about SQL databases and I might have set it up wrong also, who knows what I did but could really use some help on this before I throw this computer out the window lol. Here is the config file:
$mysql_server = "oldschoo_admin@localhost";
$mysql_user = "username";
$mysql_pass = "password";
$mysql_db = "oldschoo_preview";
$script_dir = "public_html/myspace/layoutcms/";
$from_email = "contact@oldschooldesignz.com";
$site_url = "http://www.oldschool...ms/config.php";
$config['ftypes'] = array('jpg','jpeg','png','gif','bmp');
If it helps my host is Ipowerweb and I setup a database called oldschoo_preview but don't even know if I set that up right because it's the first time messing with mysql!

#2 hostfreak

  • Members
  • PipPipPip
  • Advanced Member
  • 581 posts

Posted 12 August 2006 - 04:04 AM

It would help if you post the code, but it does appear you don't have the config setup right.

#3 newb

  • Members
  • PipPipPip
  • Advanced Member
  • 454 posts

Posted 12 August 2006 - 04:21 AM

ur mysql config settings arent right.

#4 Chetan

  • Members
  • PipPipPip
  • Advanced Member
  • 162 posts
  • LocationIndia

Posted 12 August 2006 - 05:26 AM

I dont think he even has MySQL or any SQL server, else he wud hav used wat his hosting service gave him.
I am a PHP Guru, ask me questions if you want to

0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users