Monday, December 24, 2012
Thursday, December 20, 2012
Application Error: The application failed to initialize properly (0xC0000142). Click OK to terminate application.
Application Error: The application failed to initialize properly (0xC0000142). Click OK to terminate application.
When you run a console application and the user under which the process is running doesn’t have an access to the window station on some versions of OS you may see the error message like this:
Use devxexec.exe to resolve (0xC0000142) errors.
Thursday, November 29, 2012
Prestashop and GoodRelations plugin - solve problem with page
When you try to install goodrelations plugin in prestashop 1.4 or 1.5 you will see that your pages are broken. i mean your category page.
Locate this part of code
let's get rid of him
how can you fix broken by goodrelations plugin category page in prestashop?
open "prestashop installed folder on hosting/modules/goodrelations/goodrelations_page.tpl" fileLocate this part of code
{if $shop_city}
<div rel="vcard:adr">
<div typeof="vcard:Address">
{if $shop_country}
<div property="vcard:country-name" content="{$shop_country|strip_tags|escape:'htmlall':'UTF-8'}"></div>
{/if}
{if $shop_city}
<div property="vcard:locality" content="{$shop_city|strip_tags|escape:'htmlall':'UTF-8'}"></div>
{/if}
{if $shop_code}
<div property="vcard:postal-code" content="{$shop_code|strip_tags|escape:'htmlall':'UTF-8'}"></div>
{/if}
{if $shop_address}
<div property="vcard:street-address" content="{$shop_address|strip_tags|escape:'htmlall':'UTF-8'}"></div>
{/if}
</div>
{/if}
</div>
as you can see - open div is IN {if} statement, and closing div is OUTSIDE of ending {/if} statement, so when you have no shop_city configured, you will have spare div in your page code - this is the little bastard that ruin your design!
let's get rid of him
{if $shop_city}
<div rel="vcard:adr">
<div typeof="vcard:Address">
{if $shop_country}
<br />
<div content="{$shop_country|strip_tags|escape:'htmlall':'UTF-8'}" property="vcard:country-name">
</div>
{/if}
{if $shop_city}
<br />
<div content="{$shop_city|strip_tags|escape:'htmlall':'UTF-8'}" property="vcard:locality">
</div>
{/if}
{if $shop_code}
<br />
<div content="{$shop_code|strip_tags|escape:'htmlall':'UTF-8'}" property="vcard:postal-code">
</div>
{/if}
{if $shop_address}
<br />
<div content="{$shop_address|strip_tags|escape:'htmlall':'UTF-8'}" property="vcard:street-address">
</div>
{/if}
</div>
</div>
{/if}
basically I've just put closing div into this shop_city {if} statement.
so when you have no shop_city - no spare tags will appear on page.
Friday, November 23, 2012
Always have your stuff when you need it with @Dropbox. Sign up for free! http://db.tt/4mBLs33
Thursday, October 11, 2012
VirtueMart 2.0.12b MINOR Revision: 6502 [Berlin]
Well there's not much information about this release, even on offsite.
Just updated to this version from 2.0.12 and everything works fine.
UP:
Just updated to this version from 2.0.12 and everything works fine.
UP:
Before you update, please test the update not directly on your live system. Use always a backup solution to prevent lose of data. Consider small incompatibilites when you use 3rd party extensions or own customisations (plugins, modules, templates).
Remember to update also your plugins and modules, you may use the live updater in the AIO installer
Installed version 2.0.14
Latest version 2.0.14
Latest release date 2012-11-13
Direct download URL http://virtuemart.net/component/ars/repository/virtuemart/virtuemart-2-0-14/com_virtuemart.2.0.14.zip
VirtueMart 2.0.14 MINOR Revision: 6658 [Alcala]
November 13 2012 1134 GMT
November 13 2012 1134 GMT
Wednesday, August 29, 2012
Amazon Updates
Loaded plugins: fastestmirror, priorities, security, update-motd Loading mirror speeds from cached hostfile * amzn-main: packages.us-east-1.amazonaws.com * amzn-updates: packages.us-east-1.amazonaws.com amzn-main | 2.1 kB 00:00 amzn-updates | 2.3 kB 00:00 Setting up Update Process Resolving Dependencies --> Running transaction check ---> Package aws-apitools-ec2.noarch 0:1.6.1.0-1.0.amzn1 will be updated ---> Package aws-apitools-ec2.noarch 0:1.6.1.4-1.0.amzn1 will be an update ---> Package bind-libs.x86_64 32:9.7.6-1.P1.18.amzn1 will be updated ---> Package bind-libs.x86_64 32:9.8.2-0.10.rc1.23.amzn1 will be an update ---> Package bind-utils.x86_64 32:9.7.6-1.P1.18.amzn1 will be updated ---> Package bind-utils.x86_64 32:9.8.2-0.10.rc1.23.amzn1 will be an update ---> Package dhclient.x86_64 12:4.1.1-25.P1.15.amzn1 will be updated ---> Package dhclient.x86_64 12:4.1.1-31.P1.17.amzn1 will be an update ---> Package dhcp-common.x86_64 12:4.1.1-25.P1.15.amzn1 will be updated ---> Package dhcp-common.x86_64 12:4.1.1-31.P1.17.amzn1 will be an update ---> Package glibc.i686 0:2.12-1.80.40.amzn1 will be updated ---> Package glibc.x86_64 0:2.12-1.80.40.amzn1 will be updated ---> Package glibc.i686 0:2.12-1.80.41.amzn1 will be an update ---> Package glibc.x86_64 0:2.12-1.80.41.amzn1 will be an update ---> Package glibc-common.x86_64 0:2.12-1.80.40.amzn1 will be updated ---> Package glibc-common.x86_64 0:2.12-1.80.41.amzn1 will be an update ---> Package glibc-devel.x86_64 0:2.12-1.80.40.amzn1 will be updated ---> Package glibc-devel.x86_64 0:2.12-1.80.41.amzn1 will be an update ---> Package glibc-headers.x86_64 0:2.12-1.80.40.amzn1 will be updated ---> Package glibc-headers.x86_64 0:2.12-1.80.41.amzn1 will be an update ---> Package kernel.x86_64 0:3.2.28-45.62.amzn1 will be installed ---> Package kernel-headers.x86_64 0:3.2.22-35.60.amzn1 will be updated ---> Package kernel-headers.x86_64 0:3.2.28-45.62.amzn1 will be an update ---> Package krb5-devel.x86_64 0:1.9-22.20.amzn1 will be updated ---> Package krb5-devel.x86_64 0:1.9-33.22.amzn1 will be an update ---> Package krb5-libs.i686 0:1.9-22.20.amzn1 will be updated ---> Package krb5-libs.x86_64 0:1.9-22.20.amzn1 will be updated ---> Package krb5-libs.i686 0:1.9-33.22.amzn1 will be an update ---> Package krb5-libs.x86_64 0:1.9-33.22.amzn1 will be an update ---> Package krb5-workstation.x86_64 0:1.9-22.20.amzn1 will be updated ---> Package krb5-workstation.x86_64 0:1.9-33.22.amzn1 will be an update ---> Package openldap.x86_64 0:2.4.23-26.15.amzn1 will be updated ---> Package openldap.x86_64 0:2.4.23-26.16.amzn1 will be an update ---> Package php.x86_64 0:5.3.14-2.21.amzn1 will be updated ---> Package php.x86_64 0:5.3.15-1.22.amzn1 will be an update ---> Package php-cli.x86_64 0:5.3.14-2.21.amzn1 will be updated ---> Package php-cli.x86_64 0:5.3.15-1.22.amzn1 will be an update ---> Package php-common.x86_64 0:5.3.14-2.21.amzn1 will be updated ---> Package php-common.x86_64 0:5.3.15-1.22.amzn1 will be an update ---> Package php-devel.x86_64 0:5.3.14-2.21.amzn1 will be updated ---> Package php-devel.x86_64 0:5.3.15-1.22.amzn1 will be an update ---> Package php-gd.x86_64 0:5.3.14-2.21.amzn1 will be updated ---> Package php-gd.x86_64 0:5.3.15-1.22.amzn1 will be an update ---> Package php-mbstring.x86_64 0:5.3.14-2.21.amzn1 will be updated ---> Package php-mbstring.x86_64 0:5.3.15-1.22.amzn1 will be an update ---> Package php-mcrypt.x86_64 0:5.3.14-2.21.amzn1 will be updated ---> Package php-mcrypt.x86_64 0:5.3.15-1.22.amzn1 will be an update ---> Package php-mysql.x86_64 0:5.3.14-2.21.amzn1 will be updated ---> Package php-mysql.x86_64 0:5.3.15-1.22.amzn1 will be an update ---> Package php-pdo.x86_64 0:5.3.14-2.21.amzn1 will be updated ---> Package php-pdo.x86_64 0:5.3.15-1.22.amzn1 will be an update ---> Package php-pgsql.x86_64 0:5.3.14-2.21.amzn1 will be updated ---> Package php-pgsql.x86_64 0:5.3.15-1.22.amzn1 will be an update ---> Package php-xml.x86_64 0:5.3.14-2.21.amzn1 will be updated ---> Package php-xml.x86_64 0:5.3.15-1.22.amzn1 will be an update ---> Package python.noarch 1:2.6-2.22.amzn1 will be updated ---> Package python.noarch 1:2.6-2.23.amzn1 will be an update --> Finished Dependency Resolution --> Running transaction check ---> Package kernel.x86_64 0:3.2.20-1.29.6.amzn1 will be erased --> Finished Dependency Resolution Dependencies Resolved ================================================================================ Package Arch Version Repository Size ================================================================================ Installing: kernel x86_64 3.2.28-45.62.amzn1 amzn-updates 9.1 M Updating: aws-apitools-ec2 noarch 1.6.1.4-1.0.amzn1 amzn-updates 13 M bind-libs x86_64 32:9.8.2-0.10.rc1.23.amzn1 amzn-updates 1.0 M bind-utils x86_64 32:9.8.2-0.10.rc1.23.amzn1 amzn-updates 266 k dhclient x86_64 12:4.1.1-31.P1.17.amzn1 amzn-updates 348 k dhcp-common x86_64 12:4.1.1-31.P1.17.amzn1 amzn-updates 143 k glibc i686 2.12-1.80.41.amzn1 amzn-updates 5.7 M glibc x86_64 2.12-1.80.41.amzn1 amzn-updates 5.2 M glibc-common x86_64 2.12-1.80.41.amzn1 amzn-updates 26 M glibc-devel x86_64 2.12-1.80.41.amzn1 amzn-updates 1.0 M glibc-headers x86_64 2.12-1.80.41.amzn1 amzn-updates 648 k kernel-headers x86_64 3.2.28-45.62.amzn1 amzn-updates 846 k krb5-devel x86_64 1.9-33.22.amzn1 amzn-updates 1.3 M krb5-libs i686 1.9-33.22.amzn1 amzn-updates 823 k krb5-libs x86_64 1.9-33.22.amzn1 amzn-updates 861 k krb5-workstation x86_64 1.9-33.22.amzn1 amzn-updates 432 k openldap x86_64 2.4.23-26.16.amzn1 amzn-updates 382 k php x86_64 5.3.15-1.22.amzn1 amzn-updates 2.7 M php-cli x86_64 5.3.15-1.22.amzn1 amzn-updates 2.6 M php-common x86_64 5.3.15-1.22.amzn1 amzn-updates 670 k php-devel x86_64 5.3.15-1.22.amzn1 amzn-updates 653 k php-gd x86_64 5.3.15-1.22.amzn1 amzn-updates 121 k php-mbstring x86_64 5.3.15-1.22.amzn1 amzn-updates 1.2 M php-mcrypt x86_64 5.3.15-1.22.amzn1 amzn-updates 38 k php-mysql x86_64 5.3.15-1.22.amzn1 amzn-updates 100 k php-pdo x86_64 5.3.15-1.22.amzn1 amzn-updates 91 k php-pgsql x86_64 5.3.15-1.22.amzn1 amzn-updates 82 k php-xml x86_64 5.3.15-1.22.amzn1 amzn-updates 128 k python noarch 1:2.6-2.23.amzn1 amzn-updates 4.5 k Removing: kernel x86_64 3.2.20-1.29.6.amzn1 @amzn-updates 42 M Transaction Summary ================================================================================ Install 1 Package(s) Upgrade 28 Package(s) Remove 1 Package(s) Total download size: 75 M Is this ok [y/N]: y
Friday, January 13, 2012
Fast RegExp CheatSheet
Okay this is just a regular expressions cheat sheet.
If you need make fast regexp - this is really useful.Wednesday, January 4, 2012
Custom Development - Everything related
Good day.
This is introduction post.
Here I will post everything software and applications related from my daily tasks and duties.
Expect large logs, stupid errors from apps, screen shots, interesting tricks, hard customization, etc.
Subscribe to:
Comments (Atom)


