Archive | Programming RSS feed for this section

[SOLUTION] Error 500 and 504 in PhocaPDF

December 27, 2011

0 Comments

[SOLUZIONE] Errori 500 e 504 in PhocaPDF This below is a quick workaround to solve some common problems related to the generation of PDF PhocaPDF starting in the articles in Joomla.

PhocaPDF is a free downloadable plugin that adds some handy features such as just the transformation of an article in Joomla PDF, and adding some customizations such as logo, header, footer, etc..

At some hosting may happen that instead of creating PDF kinds of errors such as:

  • 504 Gateway Timeout
  • 500 Internal Server Error

These errors are rarely reported in the log and are therefore difficult to detect and resolve.

From personal experience I have found that these errors occur because PhocaPDF proof of default libraries to use ImageMagick to convert and resize images. If these are not present then use the GD Libraries.

At the Hosting on which I have tested this issue the ImageMagick libraries, although properly installed and working, when asked by PhocaPDF sent in error script generating thousands of files in cache location:

administrator / components / com_phocapdf / assets / tcpdf / cache

thus causing the 'error 500 or 504.

To solve the problem just edit the file:

administrator / components / com_phocapdf / assets / tcpdf / tcpdf.php

at line 7603, change the entry:

  extension_loaded ( 'imagick' ) ) { // ImageMagick if (extension_loaded ('imagick')) {/ / ImageMagick 

with

  ! extension_loaded ( 'imagick' ) ) { // ImageMagick if (! extension_loaded ('imagick')) {/ / ImageMagick 

In this way you will force the use of GD Libraries that will not give problems and PhocaPDF will convert correctly the article in PDF.

If you encounter problems or anomalies write!

Continue reading ...

[WP PLUGIN] - Wp User Page, create a team page with WordPress

May 7, 2011

0 Comments

[WP PLUGIN]   Wp User Page, creare una staff page con WordPress To realize the Staff Page to be inserted in the channel sites in Google News I have searched the Web for a plugin for WordPress that allow discovering, in spite of myself, that no one had managed to achieve it.

Armed with free time and I decided to create this link you can find the plugin that I developed: wp-page-users .

Using a simple shortcodes or tags within a page or post you can see all users belonging to a group (Admin, Editor, Author, Contributor, Subscriber) showing each in a box with:

  • Name
  • Role
  • Short Description
  • Avatar

Test it and give me your opinion [WP PLUGIN]   Wp User Page, creare una staff page con WordPress

Continue reading ...

Reset the password for WordPress

October 31, 2010

0 Comments

Reset della password di WordPress Below is the script that lets you change the Administrator password or any user of your WordPress without having to know the md5 hash or using a MySQL database from its Control Panel.

Often d not remember your password, or sometimes (unfortunately), we later changed the password to some hacker attack.

[...]

Continue reading ...

Reset the password for the Admin version of Joomla 1.5.x

October 31, 2010

1 Comment

Reset della password di Admin di Joomla versioni 1.5.x Below is the script that lets you change the Administrator password to any version of Joomla 1.5.x without having to know the md5 hash or using a MySQL database from its Control Panel.

Often d not remember your password, or sometimes (unfortunately), we later changed the password to some hacker attack.

[...]

Continue reading ...

Google introduces new language: GoogleGo!

November 13, 2009

1 Comment

Google presenta il nuovo linguaggio: GoogleGo! Google does not stop at nothing in those days presented a new programming language: Go !

That's right! Tired of the fact that over the last ten years there have been significant advances in the world of programming languages ​​have decided to have it at home as explained by Rob Pike, principal software engineer at Google:

We developed Go because we were a little 'frustrated as software development has become more difficult over the last ten years or so

[...]

Continue reading ...
2 3 4 Page 1 of 4 1 2 3 4
Stop SOPA