03-29-2012, 12:28 PM
i use centos...
how to install letodms in linux
|
03-29-2012, 12:28 PM
i use centos...
03-30-2012, 02:36 PM
what is stoping to install letodms ........
03-30-2012, 06:08 PM
sappu, a blank screen, no log files, no error messages... no feedback, so I have no idea what might be going on. I guess if I was in your situation, I would add error_log() calls into the installer to see what it was doing.
What version of CentOS? Anything special about your apache, mysql or php installations, or did you take the CentOS defaults? Maybe if I have some time over the weekend, I'll throw together a VM and run through an install. (03-30-2012, 02:36 PM)sappu Wrote: what is stoping to install letodms ........
04-04-2012, 03:43 PM
iam using centos5.4.......where should i add error_log() in which file?
04-04-2012, 11:42 PM
(04-04-2012, 03:43 PM)sappu Wrote: where should i add error_log() in which file? Whatever the URL is for the blank page. If it's http://<server>/letodms/install/install.php, then add error_log() calls there. If its out of the out.xxx.php files, then add something there. Where specifically to add error_log() within the file? I guess it would take some instinct to know. I would start by printing out the name of each method as it was called to get an idea of the code path. If you tell me the URL of the blank page, I'll look at the source and make some specific suggestions. By the way, do you have any background in writing software? If so, and you're feeling adventuresome, you might try FirePHP. http://sixrevisions.com/web-development/...h-firephp/
04-06-2012, 01:51 PM
blank page has same url as in installation url had.....http://linuxpc.co.in/letodms//install/install.php and where to add error_log() in install.php file.
i added at end of line but it show nothing.
04-07-2012, 02:55 AM
I'm looking at the contents of install.php, and I'd like you to try this.
Go to the URL letodms/install/install.php?phpinfo It should bring up phpinfo(). This would tell us that at least something is executing. Another thought, if you are using Firefox... Once you are faced with the blank page, bring up the page source with control-u. Maybe it is completely empty... or perhaps there is some malformed HTML rendering that would give a clue. After looking at the php code, probably you should use 'echo' instead of 'error_log'. There are examples of how to use it in the code already. I guess I would place an echo statement just outside each conditional. For example, in the 3.3.3 version of install.php, I see... Code: /** I would decorate this with some additional echo statements like this: Code: /** If you do this in enough places, you would have a trail of the PHP execution and where the execution halts. This is a very rudimentary debugging technique and probably a PHP expert could recommend a better method. But let's keep things simple for now. (04-06-2012, 01:51 PM)sappu Wrote: blank page has same url as in installation url had.....http://linuxpc.co.in/letodms//install/install.php and where to add error_log() in install.php file.
04-18-2012, 01:29 AM
Hi,
I had a very similar problem this morning using CentOS 6 and LetoDMS 3.3.x. After hitting Apply inside install.php for the installation, the screen is blank (well, technically I still had the Zend Framework warning, but I was happy to ignore that). There is an error file in the install folder called something like php_error.log, have a look at that first. In my case, I had two problems: 1: Although I had downloaded and copied ADODB5 into {root}/letodms/adodb, I had neglected to actually install php-adodb, as in "yum install php-adodb" and then restart httpd daemon. 2. The contents data folder permissions need to be verified. It would never give me an error when I set these 3 fields for data, lucene and staging, I only noticed the error if I deliberately set another field incorrectly. It took some messing around to get LetoDMS to acknowledge them, using different folder names. I did install the Zend Framework, zf runs fine on the command line, and install.php?phpinfo shows the Zend Framework enabled and available, but still LetoDMS ignored it. Would be nice to have, but for now, happy to ignore that one. IAT. (04-07-2012, 02:55 AM)EricM Wrote: .....
04-19-2012, 12:10 PM
i did what you said in your post.
echo command echoed written under " " .but still a blank page.....not solved.. ![]() (04-07-2012, 02:55 AM)EricM Wrote: I'm looking at the contents of install.php, and I'd like you to try this.
04-19-2012, 02:32 PM
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. |
« Next Oldest | Next Newest »
|