If this is your first visit, check our documentation. To post, register or login.
Forums / General Questions / Constant error log creation

Constant error log creation

Started by corseter on 17 Aug 2012, 6:45 PM · Views: 683

Results 1 to 6 of 6
17 Aug 2012, 6:45 PM
#1
corseter avatar

corseter

New Zenner

Join Date:
Jun 2010
Location:
Crossmolina, Ireland
Posts:
55
Plugin Contributions:
0

Constant error log creation

Hi Since my domain hosting company has updated their PHP to 5.3.15, my website is producing an error message all the time and filling up my allocated space. I am running version 1.3.8 that has been patched to work with the new PHP. The error started before I did the patch.

18:13:48 UTC] PHP Warning: PHP Startup: Unable to load dynamic library '/usr/local/lib/php/extensions/no-debug-non-zts-20090626/oauth.so' - /usr/local/lib/php/extensions/no-debug-non-zts-20090626/oauth.so: cannot open shared object file: No such file or directory in Unknown on line 0
[17-Aug-2012 18:13:48 UTC] PHP Warning: PHP Startup: Unable to load dynamic library '/usr/local/lib/php/extensions/no-debug-non-zts-20090626/pdf.so' - /usr/local/lib/php/extensions/no-debug-non-zts-20090626/pdf.so: cannot open shared object file: No such file or directory in Unknown on line 0

Anyone know how to fix this?:frusty:

17 Aug 2012, 6:53 PM
#2
lat9 avatar

lat9

Administrator

Join Date:
Sep 2009
Location:
Stuart, FL
Posts:
14,140
Plugin Contributions:
56

Re: Constant error log creation

Sorry to say, but the quickest path to your website (re-)working might be to upgrade ...

17 Aug 2012, 7:51 PM
#3
corseter avatar

corseter

New Zenner

Join Date:
Jun 2010
Location:
Crossmolina, Ireland
Posts:
55
Plugin Contributions:
0

Re: Constant error log creation

Not sure if that will work either.
Where are all the error files generated?

17 Aug 2012, 9:16 PM
#4
maac2 avatar

maac2

New Zenner

Join Date:
Jan 2011
Posts:
70
Plugin Contributions:
0

Re: Constant error log creation

It might be worth asking your hosting company about the error, send them those same details.

However as lat9 says you don't want to keep putting off upgrading forever, as PHP and zen-cart progress you're going to run into more and more issues using old code.

17 Aug 2012, 9:35 PM
#5
corseter avatar

corseter

New Zenner

Join Date:
Jun 2010
Location:
Crossmolina, Ireland
Posts:
55
Plugin Contributions:
0

Re: Constant error log creation

Just been trawling through the website and found tis in the cache folder:
[17-Aug-2012 21:25:46 UTC] PHP Deprecated: Function ereg() is deprecated in /home/corset/public_html/zen/includes/classes/db/mysql/query_factory.php on line 177

Any ideas?
Line 177 states:
if (!ereg('^[0-9]', $key)) {

18 Aug 2012, 12:56 AM
#6
drbyte avatar

drbyte

Sensei

Join Date:
Jan 2004
Posts:
63,512
Plugin Contributions:
176

Re: Constant error log creation

  1. The "PHP Startup: Unable to load dynamic library" errors can ONLY be fixed by your hosting company. That's a problem in the PHP configuration, and is almost certainly outside of your control. They're the experts in that area.

  2. The "ereg" errors are a result of you using code that's designed for an older version of PHP than what your server is using. Zen Cart did away with those things in 2009. If you're going to run your site on a server using the latest versions of PHP (which is a good idea), then you'll also need to use an upgraded version of Zen Cart which is built to run on that PHP version.

.
Zen Cart - putting the dream of business ownership within reach of anyone!
Donate to: DrByte directly or to the Zen Cart team as a whole

Remember: Any code suggestions you see here are merely suggestions. You assume full responsibility for your use of any such suggestions, including any impact ANY alterations you make to your site may have on your PCI compliance.
Furthermore, any advice you see here about PCI matters is merely an opinion, and should not be relied upon as "official". Official PCI information should be obtained from the PCI Security Council directly or from one of their authorized Assessors.