Category: Free source (Delphi, PHP, Perl)

Convert tables from innodb to MyISAM – WordPress

This is a simple script for WordPress that converts all the tables from innodb to MyISAM. Some times this operation improves the speed of saving a page or post from admin panel.

  You can try it when it is very slow to save changes in a WordPress page or post.

Last modified.: 06/05/2019 Free source (Delphi, PHP, Perl)

Programmatically selecting a TTreeView node by index – Delphi

Here’s an example that has will show you how to programmatically select a TTreeView node via index number

 

Field appearance under certain conditions and line change – FastReport

Example of field appearance with line change under certain conditions in FastReport.

Also we can put  basic  html commands by activating it in TfrxMemoView and set AllowHTMLTags=true

Opencart 2.2.0.0 SSL & SEO issue fix

There is an Opencart 2.2.0.0 issue because base href tag is not properly setup when using SSL and static assets are loaded with the wrong path. To fix this, edit catalog/controller/common/header.php and replace

with

After you make this change, refresh Opencart modifications, clear vqmod’s cache (if you have vqmod installed) and your issue […]

Assign OnKeyDown event on TAdvDBFormPanel (Delphi)

This is an easy way to assign onkeydown event in all edit controls created by TAdvDBFormPanel:

 

Opencart 2.2 redirect issue

If you want to redirect your old site pages to new opencart 2.x,  add the following code to the end of .htaccess: (the example is from virtuemart to opencart 2.2)

.htaccess error: Option All not allowed here

If you get a white page and in logs: “Option All not allowed here” replace in .htaccess

with

Error pagination page={page} in SEO (Opencart)

A simple solution to fix this issue is to make some modifications in: /system/library/pagination.php Search for

and replace with

also find

and replace with

  Source: http://forum.opencart-russia.ru/threads/oshibka-paginacii-page-page-pri-seo.4583/

Unserialize a string (PHP)

Unserialize a string

 

Assign store id on all products at once (PHP – OpenCart)

Save the following script in a file on main OpenCart directory and call it. Set the variable $store_id with your preferred store.

 

Last modified.: 03/03/2016 Free source (Delphi, PHP, Perl)
1 2 3