Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
how to install letodms in linux
#40
Hi Sappu,

I had the fun of installing LetoDMS on openSUSE yesterday, and came across the same blank page problem, and again, the error was on the ADOdb connection to the DB. This fails so early on that no error messages are displayed, and no code is shown when doing ctrl-u.

Some more testing for you. Looking at this page:
- http://phplens.com/lens/adodb/docs-adodb.htm

- Create a simply file, test.php, inside the normal apache folder, and give it the following text:
<?php
include('adodb/adodb.inc.php');
$db = ADONewConnection($dbdriver); # eg 'mysql' or 'postgres'
$db->debug = true;
$db->Connect($server, $user, $password, $database);
$rs = $db->Execute('select * from some_small_table');
print "<pre>";
print_r($rs->GetRows());
print "</pre>";
?>

- Run it in Firefox http://localhost/test.php
- If the error is something like "cannot log into database", then the login details should be changed but otherwise it is working. If, however, the error is something like "cannot load/find database driver", then you have a more fundamental problem that PHP cannot find/use the ADOdb extension.

In two different operating systems I'd had to resolve the ADOdb problem. In CentOS, it was by loading libphp-adodb and restarting Apache. In openSUSE, libphp-adodb does not exist, so I needed to download it and store it in a folder like /usr/share/php/adodb, and then update the field include_path in /etc/../php.ini to include this new folder. Again, after a restart, Apache was then able to use ADOdb extension.

Good luck!

IAT,

(04-19-2012, 12:10 PM)sappu Wrote: i did what you said in your post.
echo command echoed written under " " .but still a blank page.....not solved..Sad

Reply


Messages In This Thread
how to install letodms in linux - by sappu - 03-14-2012, 11:06 AM

Forum Jump:


Users browsing this thread: 1 Guest(s)