ezpublish-3.9.3 SQL Injection Error

ezpublish-3.9.3 SQL Injection Error

Wednesday 05 September 2007 7:39:11 am - 4 replies

Modified on Friday 14 August 2009 3:27:57 am by XXX XXX

Author Message

J-A Eberhard

Wednesday 05 September 2007 8:03:40 am

Hi,

You just need a bit more memory ...

have a look here http://ez.no/doc/ez_publish/technical_manual/3_9/installation/normal_installation/requirements_for_doing_a_normal_installation#comment12831

Open Source Solution Provider
Open-Net Ltd Switzerland
http://www.open-net.ch

XXX XXX

Wednesday 05 September 2007 10:23:26 am

It isn't because of RAM, my server have 2 GB and when I install script I have about 819616 kB free memory space!

XXX XXX

Wednesday 05 September 2007 10:27:15 am

INFORMATIONS after installing:

Webserver info:
Version - Apache/1.3.37 (Unix) mod_ssl/2.8.28 OpenSSL/0.9.7a PHP/4.4.4 mod_perl/1.29 FrontPage/5.0.2.2510

PHP info:
Version - 4.4.4

OS info
Name - Linux...
CPU Type - Intel(R) Pentium(R) 4 CPU 2.80GHz
CPU Speed - 2793.298 MHz
Memory Size - 2117423104 (1.97 GB)

Database info:
Type - MySQL
Driver - ezmysql


Email info:
Transport - sendmail

Image conversion:
ImageMagick was found and used.
Path - /usr/bin
Executable - convert
ImageGD extension was found and used.

Regional info:
Primary - eng-GB
Additional - pol-PL, eng-GB

Critical tests

directory_permissions - Success
phpversion - Success
database_extensions - Success
image_conversion - Success
open_basedir - Success
safe_mode - Success
memory_limit - Success
execution_time - Success
magic_quotes_runtime - Success
allow_url_fopen - Success
accept_path_info - Success
php_session - Success
file_upload - Success
zlib_extension - Success

Other tests:

php_magicquotes - Failure
mbstring_extension - Success
imagegd_extension - Success
imagemagick_program - Success
database_all_extensions - Failure
php_register_globals - Failure
texttoimage_functions - Failure

What should I do? Installation is done (100%) however my database doesn't have all tables (only 103 tables and some are missing)

André R.

Wednesday 05 September 2007 12:06:15 pm

You don't need more ram, you need to increase php's memory limit.
By the error it seems that it's currently set to 64mb.

From the page J-A is linking to:

PHP memory limit issue

eZ Publish needs at least 64 MB in order to complete the setup wizard. This means that you'll have to increase the default "memory_limit" setting which is located in the "php.ini" configuration file. (Don't forget to restart apache after editing "php.ini".) Normal operation requires about 16 MB. However, it is highly recommended that you keep the 64 MB setting since eZ Publish consumes a lot more memory as soon as you use PDF export feature, reindex the search, etc. Multi-lingual sites that store the content in Unicode (UTF-8) will also require at least 64 MB.

So while installing you need to set it to 96mb, then you can set it back to 64mb after the install if you want to.
This is something being worked on and in the upcomming php 5 port this should improve because of converting to useing php5's xml functions instead of the code we currently have (ezxml).

eZ Online Editor 5: http://projects.ez.no/ezoe || eZJSCore (Ajax): http://projects.ez.no/ezjscore || eZ Publish EE http://ez.no/eZPublish/eZ-Publish-Enterprise-Subscription
@: http://twitter.com/andrerom

You must be logged in to post messages in this topic!

Powered by eZ Publish™ CMS Open Source Web Content Management. Copyright © 1999-2014 eZ Systems AS (except where otherwise noted). All rights reserved.