Tech blog

User Rating: 5 / 5

Star ActiveStar ActiveStar ActiveStar ActiveStar Active

save spiderWhen established a multilanguage Joomla web-sites (using native language feature), I met a high CPU load with even the system cache plugin enabled. Looking into logs, I found there was a number of bot entries like

Star InactiveStar InactiveStar InactiveStar InactiveStar Inactive
Multithumb found errors on this page:

There was a problem loading image http://static.xscreenshot.com/2015/08/23/11/screen_e4119feb1b20277b92eb2f732c6e0737
There was a problem loading image http://static.xscreenshot.com/2015/08/23/11/screen_e4119feb1b20277b92eb2f732c6e0737

asI could not find where to download an AkeebaSubscriptions installable package. Akeeba website provides text 'Only PHP source code is provided' and a link to GitHub. The GitHub repo has a complicated instruction how to build a package.

So I created a small bash script to automatically initialize needed repos and to build the latest package. Surely needed dependencies (like PEAR libraries) still need to be installed manually.
screen_e4119feb1b20277b92eb2f732c6e0737

Run the script in an empty folder and get a resulting zip file. The code I use is below

Star InactiveStar InactiveStar InactiveStar InactiveStar Inactive

OpenSuseAfter OpenSuse update I sometimes cannot load X window. It stalls at some point.

The problem in my case is that Yast installs some kernels from Factory and/or Tumbleweed. So loading with the latest kernel is impossible as the NVidia drivers are incompatible with the latest non-official kernel.

Solution:

Login in Recover mode, go to yast and remove unneded kernels.

Or, as an option, select to boot with the proper kernel version, not with the latest one.

Or lock the kernel version in the Yast install software.

Star InactiveStar InactiveStar InactiveStar InactiveStar Inactive

Look into my eyesI like Kopete, especially because of global short keys working in KDE, but the autoreconnect bug for ICQ have been making me upset for a long time.

Finally I found a way to avoid the bug. I added my ICQ account as a Jabber transport. Here are docs: http://userbase.kde.org/Kopete/Jabber_Transport

Now I'm happy!

Star InactiveStar InactiveStar InactiveStar InactiveStar Inactive

SpiderAfter migrating a Joomla 1.5 web-site to Joomla 2.5 and next to Joomla 3.1 I have tried to install AkeebaBackup or PhocaGallery. Both installations gave the same error:

Error building Admin Menus

I digged tones of forum posts most of which recommended to remove any records tied to the problematic components from #__assets and #__menu. But there were no records about my components. Finally I found a solution!

User Rating: 4 / 5

Star ActiveStar ActiveStar ActiveStar ActiveStar Inactive

component/users/?task=registration.register 500 internal server errorWhen trying to register a user joomla may give a 500 internal server error at link http://yoursite.com/component/users/?task=registration.register

In my case it was caused by disabled php mail function. I just set my Joomla to use a remote SMTP server instead. How to setup joomla to use a remote (i.e.gmail) SMTP server.

User Rating: 5 / 5

Star ActiveStar ActiveStar ActiveStar ActiveStar Active

Robot spider for disastersAfter upgrading my OpenSuse to 12.3 I could not start mysql.

# systemctl start mysql.service
Job for mysql.service failed. See 'systemctl status mysql.service' and 'journalctl -n' for details.

journalctl -n gave me among others:

Mar 17 05:55:09 gruz systemd[1]: mysql.service: control process exited, code=exited status=1
Mar 17 05:55:09 gruz systemd[1]: Failed to start LSB: Start the MySQL database server.
Mar 17 05:55:09 gruz systemd[1]: Unit mysql.service entered failed state

Running # mysql_secure_installation asked passwrod but didn't accept any:

Enter current password for root (enter for none): 
ERROR 2002 (HY000): Can't connect to local MySQL server through socket '/var/run/mysql/mysql.sock' (2)

Solution:

I had two problems - mysql database folder and files owner and an empty file .run-mysql_upgrade.

So here is how I solved it:

chown -R mysql:mysql /var/lib/mysql; rm /var/lib/.run-mysql_upgrade

User Rating: 5 / 5

Star ActiveStar ActiveStar ActiveStar ActiveStar Active
Since the time of writing of this article unison has added a native changes check without inotify. Thought I still use the method explained in the article, you may give a try. Check stackoverflow

spider.24990811 stdGiven

Linux remote server and Linux (OpenSuse) local machine. SSH access to the remote server with sudo (optional) permissions.

Task

I develop a web-site deployed at a remote server. I have a to-do list and as a rule I backup the web-site, place it at my local comp, work, and place it back to the production server when finished. But what if the client wants to work at the web-site at the same time? E.g. to work with the conent? Using FTP at my side is not an option as it takes not only time, but doesn't allow e.g. to search text in many files using e.g. Krusader. Besides, I cannot use my favourite Geany editor when using KDE built-in FTP or SFTP (fish) protocols. I mean I cannot edit a file from Krusader FTP/SFTP connection in Geany, only in KWrite.

So I want to work at the remote web-site as if I work at the local one. As if the remote web-site folder is mounted like a normal hard disk. But all the ftp/ssh mounts I managed to find were slow, incredible slow.

User Rating: 5 / 5

Star ActiveStar ActiveStar ActiveStar ActiveStar Active

easybook reloaded  Task: There is a nice guestbook extension EasyBook Reloaded

Solution: Here I provide only frontend ukrainian localization: download. Place the file to language/uk-UA/uk-UA.com_easybookreloaded.ini

Misc.: You can take part in the translation here: https://webtranslateit.com/en/projects/3721-Easybook-Realoaded/files. You must registed at the web-site to see the link as expected.

Example: http://kobza.com.ua/hostova-knyha.html

User Rating: 5 / 5

Star ActiveStar ActiveStar ActiveStar ActiveStar Active

Spider moonTask

Show a random product image as a category image.

Solution

I solved this at the Joomla template level.

So you need to perform the steps:

Subcategories

General Joomla FAQ based on own experience.
Some linux tips just not to forget.
FaLang translation system by Faboba
Електронна бібліотека «Exlibris»: історичні дослідження, мемуаристика, публіцистика, художня література Українська етнографія: книги, курси лекцій, статті й матеріали, мапи, фотоальбоми, веб-ресурси Правителі України: портрети, життєписи, матеріали Твори Адріана Кащенка: романтика козацьких часів Народна війна 1917-1932

See a typo?

Select the text block and press

CTRL+Enter

Comments

  • NotificationAry - get emails on Joomla content is submitted, added or changed

    Berndi Berndi 30.06.2019 11:45
    The fields %TO_NAME% and %TO_USERNAME% are empty

    Read more...

     
  • NotificationAry - get emails on Joomla content is submitted, added or changed

    Berndi Berndi 30.06.2019 11:43
    My fault, I made it

    Read more...

     
  • NotificationAry - get emails on Joomla content is submitted, added or changed

    Berndi Berndi 30.06.2019 10:46
    I did. Now I'm asking me how to put the surename into the email... :-|

    Read more...

     
  • NavigationAry - navigate between Joomla menu items like between articles using "prev - next"

    Berndi Berndi 29.06.2019 15:59
    I also miss content in %TO_NAME%

    Read more...

     
  • NotificationAry - get emails on Joomla content is submitted, added or changed

    Berndi Berndi 29.06.2019 15:15
    Hi gruz, I have the problem, that when I use the %AUTHOR% tag, the plugin dosen't send the author ...

    Read more...