I am in process of developing a small application for which the logrotate of Nginx logs is critical.
Unfortunately the default logrotate config that resides in /etc/logrotate.d/nginx is not working:
I am trying to debug a Perl CGI application. I choose EPIC for this, but my application does not run correctly because of the following error: can't locate .pm in @INC
I Googled for it but can’t find anything yet.
Accidentally I right-clicked on the project in Eclipse “Navigator” and click on “Properties”. There is a “Perl Include Paths”. This helped me.
BTW: There is a simple tutorial regarding Perl Debug using EPIC at IBM DeveloperWorks:
If you try to start VMWare 2.0.2 on top of Fedora 14 with kernel 2.6.35.6-48.fc14.x86_64, you will get the following message that does not let you to start compiling vmmon:
“The directory of kernel headers (version @@VMWARE@@ UTS_RELEASE) does not match
your running kernel (version 2.6.35.6-48.fc14.x86_64). Even if the module were
to compile successfully, it would not load into the running kernel.”
The solution is to change the lines 2702 and 2703 into:
if (-e $answer . '/generated/utsrelease.h') {
$uts_headers .= "#include <./generated/utsrelease.h>\n";
The problem that remained is the compilation itself. I will come back with a solution when I will have it.
Perfect match of the version… I installed a Joomla site on my server.
Navigating to Menus -> Menu Manager, all the menus are available, and for each menu the number of menu item is above 0.
Clicking on Menu Items icon, results in an empty list, like there is no menu item defined for that menu.
The cause is the mismatch of PHP and Joomla version.
The solution was to upgrade the Joomla version to the latest version.
A Magento instance is raising the following error everytime when I try to access the product details page:
[error] [client ] PHP Fatal error: Call to a member function setAttribute() on a non-object in /app/code/core/Mage/Eav/Model/Entity/Attribute/Abstract.php on line 374, referer: http://shop.matrixrom.ro/index.php/admin/shopadmin/catalog_product/
The resolution was to implement the following changes:
One suggestion for improving SEO is to add trailing slashes to all pages. The point is that this can break your site, generating 404 error at almost every click that you’ll do.
The solution that I found was to edit the file app/code/core/Mage/Core/Model/Url/Rewrite.php and to replace the line:
Actually it was an incredible good night with U2 in Istanbul. The “magical city of Istanbul” was the last appearance of Snow Patrol in U2 360.
The words cannot express the magic of this show. I recorded a part of the show (with my mobile, while the organizer stated that the recording devices are not allowed).
After more than 10 years spent in the computer industry, I found that everyday I have a new issue, a new challenge. I considered that will be very valuable for everyone if I will share my challenges and my experience. The views expressed on this blog are my own and do not necessarily reflect the [...]more →