Menu

New installation not writing to db

Help
Nate
2013-01-17
2013-01-17
  • Nate

    Nate - 2013-01-17

    Greetings! I did a test install at gotblinkers.com/bookmarks/www that worked great. I then did a fresh install on my closed network and it appears it is not writing to the db I setup. There are no errors thrown. Test case is trying to register - username never resolves. If I just complete the registration it takes me to a blank .register.php page.

    I feel there is an easy solution for this and I am just not seeing it. Your help is appreciated.

     
  • Christian Weiske

    Set

    $debugMode = true;

    in your data/config.php file. Does that give you some more output?

    If not, check your apache logs if they contain php error information.

     
  • Nate

    Nate - 2013-01-17

    Cool thanks. debug shows me nothing. :/

    However, logs show me some of the following:

    Directory index forbidden by Options directive: /var/www/html/
    
    File does not exist: /var/www/html/favicon.ico
    
    HP Fatal error:  <u>SQL ERROR</u> [ mysql4 ]<br /><br />Access denied for user 'username'@'localhost' (using password: YES)<br /><br /><u>CALLING PAGE</u><br /><br />/www/index.php&amp;<br /> in /var/www/html/src/SemanticScuttle/db/mysql4.php on line 390
    
    HP Fatal error:  Call to undefined function filter_var() in /var/www/html/src/SemanticScuttle/Service/User.php on line 1019, referer: http://....../tasty/register.php
    
    PHP Fatal error:  Call to undefined function json_encode() in /var/www/html/tasty/ajax/getadminlinkedtags.php on line 91, referer: http://......./tasty/
    
    File does not exist: /var/www/html/www, referer: http://......../www/
    

    Your advice is MUCH appreciated!

     
    • Christian Weiske

      Hello Nate,

      However, logs show me some of the following:
      SQL ERROR myql4
      Access denied for user 'username'@'localhost' (using password: YES)

      There is your error. The database username and/or password for your
      mysql database are wrong.

      HP Fatal error:  Call to undefined function filter_var()
      

      in /var/www/html/src/SemanticScuttle/Service/User.php on line 1019,
      referer: http://....../tasty/register.php
      This is very strange. Which PHP version do you use? You should have at
      least PHP 5.2.

      PHP Fatal error:  Call to undefined function json_encode()
      

      in /var/www/html/tasty/ajax/getadminlinkedtags.php on line 91,
      referer: http://......./tasty/
      Dito.

      --
      Regards/Mit freundlichen Grüßen
      Christian Weiske

      -=≡ Geeking around in the name of science since 1982 ≡=-

       
  • Nate

    Nate - 2013-01-17

    Hmm. Thanks. Turns out I have PHP 5.1 - a slight oversight. :) Taking care of that first....

    The db username/pwd is strange, however. I am positive it is correct.

    The difference between my two tests is that I installed on a webserver that was already setup on the open network. I had to build the webserver for the closed network - which I am learning doesn't come together as easily as I had thought.

    Thanks!

     

Log in to post a comment.

Want the latest updates on software, tech news, and AI?
Get latest updates about software, tech news, and AI from SourceForge directly in your inbox once a month.