Search found 4 matches

by Sumaleth
Wed Jan 16, 2008 8:16 am
Forum: Bug reports
Topic: 2.0.4 install problem involving require_once
Replies: 7
Views: 11775

Yes, if I change this particular require_once() in install.php--

// connect to the database using inc/data.php
require_once(PMF_ROOT_DIR."/inc/data.php");

--to either require() or install() then the install script works successfully.

I don't really understand why require_once wouldn't work. The ...
by Sumaleth
Wed Jan 16, 2008 12:05 am
Forum: Bug reports
Topic: 2.0.4 install problem involving require_once
Replies: 7
Views: 11775

Yes, even when the file is CHMOD 777 it still has the problem. And require()/include() are able to use it, it's just require_once() that fails.

Rowan.
by Sumaleth
Fri Jan 11, 2008 11:45 am
Forum: Bug reports
Topic: 2.0.4 install problem involving require_once
Replies: 7
Views: 11775

Hi,

This is a sample data.php:

Code: Select all

<?php
$DB["server"] = 'localhost';
$DB["user"] = 'admin_i913php';
$DB["password"] = 'xNurXNipETajs';
$DB["db"] = 'admin_i913php';
$DB["prefix"] = 'faq_';
$DB["type"] = 'mysql';
?>
Rowan.
by Sumaleth
Wed Jan 09, 2008 5:54 am
Forum: Bug reports
Topic: 2.0.4 install problem involving require_once
Replies: 7
Views: 11775

2.0.4 install problem involving require_once

We just upgraded our server to PHP5, and I now get this message during the install process:

Warning: mysql_connect() [function.mysql-connect]: Access denied for user 'apache'@'localhost' (using password: NO) in /home/admin/domains/testing.installatron.com/public_html/phpmyfaqa3/inc/PMF_DB/Mysql ...