Menu

Re: SVNAdmin, error mssge Please Help

Help
2005-09-27
2013-05-01
  • Marijn Verkerk

    Marijn Verkerk - 2005-09-27

    Hi Pradeep,

    Could you specify the version of svnmanager you are using? Further, since you try to use the sqlite database, have you already gone through the process of creating a database?

    Kind regards,
    Marijn

    Lal . Pradeep wrote:

    > Hi I am having trouble installing SVNManager. I followed the steps in the INSTALL file. I receive the following error message:
    >
    > InternalError
    >
    > ADODB_Exception: sqlite error: [0: Missing extension for native] in CONNECT(svnmanager.db, '', '****', )
    >
    > #0 /var/www/html/svnmanager/prado-2.0.1/Data/adodb/adodb-exceptions.inc.php(76): adodb_throw()
    > #1 /var/www/html/svnmanager/prado-2.0.1/Data/adodb/adodb.inc.php(427): adodb_throw('sqlite', 'CONNECT', 0, 'Missing extensi...', 'svnmanager.db', '', Object(ADODB_sqlite))
    > #2 /var/www/html/svnmanager/prado-2.0.1/Data/adodb/adodb.inc.php(3713): ADODB_sqlite->Connect('svnmanager.db', '', '', '')
    > #3 /var/www/html/svnmanager/prado-2.0.1/Data/TAdodb.php(318): ADONewConnection('sqlite://svnman...')
    > #4 /var/www/html/svnmanager/prado-2.0.1/Data/TAdodb.php(113): TAdodb->open()
    > #5 /var/www/html/svnmanager/svnmanager/MainModule/DataModule.php(20): TAdodb->__call('MetaTables', Array)
    > #6 /var/www/html/svnmanager/svnmanager/MainModule/DataModule.php(20): TAdodb->MetaTables()
    > #7 /var/www/html/svnmanager/prado-2.0.1/TApplication.php(548): DataModule->onLoad(Object(TEventParameter))
    > #8 /var/www/html/svnmanager/prado-2.0.1/TApplication.php(593): TApplication->loadModule('Main')
    > #9 /var/www/html/svnmanager/prado-2.0.1/TApplication.php(451): TApplication->loadPage('Main:StartPage')
    > #10 /var/www/html/svnmanager/index.php(5): TApplication->run()
    > #11 {main}
    >
    > Pradeep

     
    • Pradeep

      Pradeep - 2005-09-27

      I am using the latest version .36. I created a sqlite db, however the instruction (INSTALL file) imply that after the first time you load the index.php page a slqlite db will be created for you automatically (svnmanager.db). Since that didn't happen for me for what ever reason, I created a svnmanager.db through sqlite3 application.

      I looked through the forum, and saw that someone else had the same problem.

      I also tried mySQL and got a blank page. Oupt_buffering is turned on and set to 4096. Yet I still recieve a blank page. I saw on the forum that someone else also had this problem. The resulotion was not clear.

      I have no prefrence on the db (mySQL or sqlite) as long as it works. Please help.

       
    • Marijn Verkerk

      Marijn Verkerk - 2005-09-28

      Hi again,

      In order for the svnmanager application to be able to create an sqlite database, the user that runs the webserver needs both read and write access to the location that you specified in the config file.

      Maybe this will enable you to use sqlite.

      Are there any error messages?

       
      • Pradeep

        Pradeep - 2005-09-28

        I still get the posted error message, when I change the $admin_name to "root" user and root's password using SQLite.  Still I recieve the same error message. I tried this with MySQL and recieve a blank page.

         
    • Pradeep

      Pradeep - 2005-09-28

      I am using fedora 4 as my OS apache 2.x and php 5.04 with Version_SVN.

       
    • Marijn Verkerk

      Marijn Verkerk - 2005-09-29

      Hi again,

      What user is running the webserver? Does this user have write access to specified database location?

      Kind regards,
      Marijn Verkerk

       
    • Pradeep

      Pradeep - 2005-09-30

      Ok, I got passed some things but was still getting the blank screen. Then I turned display_error on, and am getting similar error message that someone else got. I saw that in one statement you mentioned that php 5.0.4 doesn't has some bug which may result in the error message.

      So I rolled back to php 4.3.11 and approariate pear and other supporting modules. However now I am getting error message:

      Parse error: parse error, unexpected ')', expecting '(' in /var/www/html/prado-2.0.1/prado.php on line 85

      I am stuck, SVNManager is a real nice to have application, however I can't seem to get it working. I am been at it off and on for about a week, can not afford to devote more time to this. I really need a well writen install doc with all application dependancies, and instructions. That would really help. I have chmoded my http directory to 777. So I dont think its a permissions issue. Can you help?

       
    • Marijn Verkerk

      Marijn Verkerk - 2005-09-30

      Hi again,

      I'm sorry, but you do need a php 5 version to run svnmanager, php 4 won't work!

      Kind regards,
      Marijn Verkerk

       
    • Yuan-Chung Hsiao

      Hi:

        I got the same error

      Parse error: parse error, unexpected ')', expecting '(' in /var/www/html/prado-2.0.1/prado.php on line 85 

      freebsd 5.4 & php 4.4.0 & apache 2

       
    • Pradeep

      Pradeep - 2005-10-03

      Ok, reinstalled php5.04.

      I am getting the following error msg:

      Fatal error: Call to undefined function mysql_connect() in /var/www/html/prado-2.0.1/Data/adodb/drivers/adodb-mysql.inc.php on line 339

      I Think its due to mySQL config.
      Can you help me resolve this.

       
    • Pradeep

      Pradeep - 2005-10-03

      Ok, realized I needed php-mysql. I installed.

      Now I get the following error msg:

      Fatal Error

      [2] mysql_connect() [function.mysql-connect]: Access denied for user 'admin'@'localhost' (using password: YES) (@line 340 in file /var/www/html/prado-2.0.1/Data/adodb/drivers/adodb-mysql.inc.php).
      Debug Backtrace

      #1 adodb-mysql.inc.php:340 -- pradoErrorHandler(...)
      #2 adodb-mysql.inc.php:340 -- mysql_connect(...)
      #3 adodb.inc.php:416 -- ADODB_mysql->_connect(...)
      #4 adodb.inc.php:3713 -- ADODB_mysql->Connect(...)
      #5 TAdodb.php:318 -- ADONewConnection(...)
      #6 TAdodb.php:113 -- TAdodb->open()
      #7 DataModule.php:21 -- TAdodb->__call(...)
      #8 DataModule.php:21 -- TAdodb->MetaTables()
      #9 TApplication.php:548 -- DataModule->onLoad(...)
      #10 TApplication.php:593 -- TApplication->loadModule(...)
      #11 TApplication.php:451 -- TApplication->loadPage(...)
      #12 index.php:5 -- TApplication->run()

       
    • Pradeep

      Pradeep - 2005-10-03

      Ok.

      I got.

      ITS ALIVE.

      Thanx.

      In my last error msg my passwd was incorrect in logging onto mysql.

      Great tool, a little bit of install pain, but hopefully worth it.

       
    • Marijn Verkerk

      Marijn Verkerk - 2005-10-03

      Glad to hear you got it working!

      Marijn

       

Log in to post a comment.