You are not logged in. Please login or register.


Post new reply

Post new reply

Compose and post your new reply

You may use: BBCode

All fields with bold label must be completed before the form is submitted.

Required information for guests


Required information

(delete this if you are not)

Topic review (newest first)

6

Can you try using the SQLite type? You can just set the DSN like this:

define("DB","sqlite:////tmp/ochibatest");

This will help confirm if the PEAR::DB module is working in general. If you have Postgres available, that's another thing to try. If either SQLite or Postgres are available from your hoster, then I would strongly recommend using one of those and not MySQL.

Another thing to confirm: do your database connection parameters work in other software? For example, do you have some other blog software that uses your MySQL database, such as Wordpress? I'm not sure how much of the parameters you obfuscated in your post, but the "usr_**database**_2" part seems peculiar. How about if you put the following line into install.php, right below the "Checking for database connection" line:

$conn = mysql_connect  ('localhost', '**mylogin**','**myPass**');
mysql_select_db($conn,'usr_**database**_2') or die("Cant' select database");

If none of the above work, what PHP version do you have (the output of phpinfo() would be handy) and what hoster are you with?

5

I'm having the same problem.

define("DB","mysql://**mylogin**:**myPass**@localhost/usr_**database**_2");

RESULT:
Checking for convert (/usr/bin/convert) ... OK

Checking for identify (/usr/bin/identify) ... OK

Checking permissions on /var/www/web750/html/pic0tek/img ... OK

Checking permissions on /var/www/web750/html/pic0tek/thumbs ... OK

Checking permissions on /tmp/ochiba-cache ...OK

Checking for HTML_Template_IT ...OK

Checking for PEAR::DB ...OK

Checking for database definition ... FAIL - please edit conf.php
-----------

I also tried all vars for "@localhost"  = same result
I also tried  with altenative =  @unix(/var/www/....... 
at this point now - I NEED SOME HELP .. plesae

4

http://nahc4.com

3

thanks  installed fine now..

2

#define("DB","mysql://MtnXfreeride:## my p/w ###@mysql153.secureserver.net/MtnXfreeride");

The "#" at the beginning of this line signals a comment - you should remove the "#".

1

Hello, I am looking forward to having a nice image board on my site, and wakaba was just to complicated for me and ochiba seemed to do everything I want and more anyway.   So, when i run  install.php  i get:

Checking for convert (/usr/bin/convert) ... OK

Checking for identify (/usr/bin/identify) ... OK

Checking permissions on /home/content/M/t/n/MtnXfreeride/html/nahc4/img ... OK

Checking permissions on /home/content/M/t/n/MtnXfreeride/html/nahc4/thumbs ... OK

Checking permissions on /tmp/ochiba-cache ...OK

Checking for HTML_Template_IT ...OK

Checking for PEAR::DB ...OK

Checking for database definition ... FAIL - please edit conf.php




these are my settings for the database:

// Examples (make sure to set one of these!):
#define("DB","sqlite:////path/to/sqlite/database/file");
#define("DB","pgsql://user:pass@unix(/tmp)/dbname");
#define("DB","pgsql://user:pass@hostname/dbname");
#define("DB","mysql://user:pass@unix(/var/lib/mysql/mysql.sock)/dbname");
#define("DB","mysql://MtnXfreeride:## my p/w ###@mysql153.secureserver.net/MtnXfreeride");



the database information should be correct since it was right off the godaddy Mysql page..  I am definitly a new person at all of this, but it seems like I am close to getting this set-up properly.
any help at all would be greatly appreciated.



Generated in 0.024 seconds (74% PHP - 26% DB) with 8 queries