Results 1 to 5 of 5

Thread: my simple script refused to installed

  1. #1
    Join Date
    Oct 2008
    Posts
    42
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default my simple script refused to installed

    last week I made small funny article script

    it worked in apache very good without errors.

    but when I uploaded it in my hosting server it gave me error

    PHP Code:
    Parse errorsyntax errorunexpected '{' in /hsphere/local/home/vivid200/albahala.org/bhl/index.php on line 19 
    and refused to install.

    I am sure there is no error in my codes. It works in my apache very smoothly.

    also I uploaded it in a free hosting website.
    and install.php worked nicely but refused to register me as member.

    it gave me this error in registration form (You missed to fill some fields.).

    also in Globat Server gave me blank page without error msg.
    Last edited by vividona; 11-02-2008 at 05:31 AM.

  2. #2
    Join Date
    Jan 2008
    Posts
    4,168
    Thanks
    28
    Thanked 628 Times in 624 Posts
    Blog Entries
    1

    Default

    I'd need to see your code but to me it looks like your missing a ')' in a while, for or if statement before your '{'.
    Jeremy | jfein.net

  3. #3
    Join Date
    Oct 2008
    Posts
    42
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default

    Quote Originally Posted by Nile View Post
    I'd need to see your code but to me it looks like your missing a ')' in a while, for or if statement before your '{'.
    no, all my codes are correct

    plz check attachements

    Note:

    if you need to check it in apache you have to save a copy for install.php bcz it is deleted automatically when installation finish.

    change database information in (classes/BHL_DB) in :

    PHP Code:
        public function __construct($BHL_DB_HOST="localhost"$BHL_DB_USER="root"$BHL_DB_PASS=""$BHL_DB_NAME="bhl"){
            
    $this->BHL_DB_HOST $BHL_HOST;
            
    $this->BHL_DB_USER $BHL_USER;
            
    $this->BHL_DB_PASS $BHL_PASS;
            
    $this->BHL_DB_NAME $BHL_NAME;
            
    $this->DB_CONN($BHL_DB_HOST$BHL_DB_USER$BHL_DB_PASS$BHL_DB_NAME);
            
    $this->setHost($BHL_DB_HOST);
            
    $this->setUser($BHL_DB_USER);
            
    $this->setPass($BHL_DB_PASS);
            
    $this->setDbName($BHL_DB_NAME);
            
        } 

  4. #4
    Join Date
    Oct 2008
    Posts
    42
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default

    plz check attachments.

    it is without pictures and without admin files bcz attachments size so narrow

  5. #5
    Join Date
    Oct 2008
    Posts
    42
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default

    Oooh my God

    my PHP version is 4.4.8

    so it is not works

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •