Showing posts from September, 2013

Cron of wget command is not working

Error:  /usr/bin/wget: line 1: ////centos/5/x86_64/wget-1.11.4-3.el5_8.2.x86_64/usr/bin/wget: No such file or directory Fix: You need to re-install wget and GET packages with "perl-libwww-perl" in the server in order to fix this issue. You can follow the steps mentioned below to do the same: 1. Login to your server as root. 2. Run the following command: root@server[~]# yum -y reinstall wget perl-libwww-perl 3. Once the above command is executed without any error, the issue should be fixed. Sometimes, you will get the following error while installing the package "perl-libwww-perl": Excluding Packages in global exclude list Finished No Match for argument: perl-libwww Nothing to do In such scenario, you need to install "perl-libwww-perl" using the following command: root@server [~]# yum -y --disableexcludes=all reinstall perl-libwww-perl I believe, the above command will execute successfully and your issue sh

Mamboo CMS – Fatal error: Call to undefined method mosMenu::mosDBTable()

Fatal error: Call to undefined method mosMenu::mosDBTable() in /home/user/public_html/mambo/includes/core.classes.php on line XXX Resolution: 1. Open /include/database.php in an editor 2. Add the given function just after “var $_db = null;” function mosDBTable($table=”, $keyname=’id’, $db=”) { $this->mosDBAbstractRow ($table, $keyname, $db); } 3. Save and upload database.php 4. If you getting any warning now on /includes/Cache/Lite/Function.php Replace $result = call_user_func_array($target, $arguments); with $result = call_user_func_array($target, &$arguments); The issue should be completely fixed now. :)