Advanced Search

— Forum Scope —




— Match —





— Forum Options —





Minimum search word length is 3 characters - maximum search word length is 84 characters

mail_open
Invoices not printing
Jay Bond
Member
May 19, 2014 - 9:17 am
Member Since: February 26, 2014
Forum Posts: 193
sp_UserOfflineSmall Offline

Hi,

Has anyone any info on why i keep getting this error message when trying to print invoices off.

Fatal error: Declaration of Zend_Pdf_FileParserDataSource_File::__construct() must be compatible with Zend_Pdf_FileParserDataSource::__construct() in /home/asitsugc/public_html/lib/Zend/Pdf/FileParserDataSource/File.php on line 41

Thanks

Jay

Avatar
Matthew Ogborne

Founder
May 19, 2014 - 9:43 am
Member Since: July 18, 2013
Forum Posts: 4565
sp_UserOfflineSmall Offline

Jay Bond said
Fatal error: Declaration of Zend_Pdf_FileParserDataSource_File::__construct() must be compatible with Zend_Pdf_FileParserDataSource::__construct() in /home/asitsugc/public_html/lib/Zend/Pdf/FileParserDataSource/File.php on line 41

Hi Jay,

Yes its a version conflict between zend versions, email your hosting provider and they’ll be able to sort this out for you within a few minutes.

Matt

"Selling an item online is easy, but making living from a business that sells online, well that’s something different entirely!"

Ultimo Magento Theme

Jay Bond
Member
May 21, 2014 - 7:14 am
Member Since: February 26, 2014
Forum Posts: 193
sp_UserOfflineSmall Offline

Hi Matt,

My service provider can’t seem to help me on this, is there another way to get this fixed.

Thanks

Jay

Avatar
Dave Furness

Founder
May 21, 2014 - 10:52 am
Member Since: July 19, 2013
Forum Posts: 4606
sp_UserOfflineSmall Offline

How strange, this has come a few times for a couple of people and Simple Servers managed to get this sorted pretty quickly. Will check with Matt to see if there is another way

Dave

Every expert was once a beginner

Avatar
Matthew Ogborne

Founder
May 21, 2014 - 11:11 am
Member Since: July 18, 2013
Forum Posts: 4565
sp_UserOfflineSmall Offline

Hi Jay,

See here http://www.magentocommerce.com…..ad/279601/ & here http://www.techawaken.com/fata…..construct/

It’s a known issue with running PHP 5.4 & above.

Couple of suggestions:

1. Make sure the compiler is off System > Tools > Compilation
2. Ask your web host to run your site as PHP 5.3 or see this article on how to do this in cPanel http://my.oakhosting.net/knowl…..I-use.html

I wouldn’t suggest that you change any of the Magento core files as suggested in that thread. If you’re anything like me, you’ll forget about them and the ad-hoc changes will come back and bite you in the bum later on at the most awkward moment possible.

Matt

"Selling an item online is easy, but making living from a business that sells online, well that’s something different entirely!"

Ultimo Magento Theme

Jay Bond
Member
May 21, 2014 - 11:39 am
Member Since: February 26, 2014
Forum Posts: 193
sp_UserOfflineSmall Offline

Hi Dave,

Is this the server you use, if so which package do you recommend.

Thanks

Jay

Jay Bond
Member
May 21, 2014 - 1:02 pm
Member Since: February 26, 2014
Forum Posts: 193
sp_UserOfflineSmall Offline

Hi Matt,

This is the reply from my host regarding the php.

Hello,
Not individually no but I could downgrade PHP for the entire server to PHP 5.3.
Regards,

Before i say yes is this correct?

Thanks

Jay

Avatar
Dave Furness

Founder
May 21, 2014 - 4:43 pm
Member Since: July 19, 2013
Forum Posts: 4606
sp_UserOfflineSmall Offline

Hi Jay

We do use SimpleServers and we are on the Extreme package but it depends on how many orders and inventory you deal with, really we have plenty of members that use the basic and pro versions without problems so it does depend on your own business really :)

Dave

Every expert was once a beginner

Jay Bond
Member
May 22, 2014 - 7:35 am
Member Since: February 26, 2014
Forum Posts: 193
sp_UserOfflineSmall Offline

Hi Matt,

Do you mean downgrade my whole server to php 5.3?

Thanks

Jay

Avatar
Matthew Ogborne

Founder
May 22, 2014 - 8:30 am
Member Since: July 18, 2013
Forum Posts: 4565
sp_UserOfflineSmall Offline

Hi Jay,

If that’s the only option they can give you, the answer is yep (make a backup first though!)

Matt

"Selling an item online is easy, but making living from a business that sells online, well that’s something different entirely!"

Ultimo Magento Theme

Jay Bond
Member
May 22, 2014 - 9:56 am
Member Since: February 26, 2014
Forum Posts: 193
sp_UserOfflineSmall Offline

Just refresh my memory how do i backup again, i havn’t got installatron on my cpanel?

Avatar
Matthew Ogborne

Founder
May 22, 2014 - 9:13 pm
Member Since: July 18, 2013
Forum Posts: 4565
sp_UserOfflineSmall Offline

Hi Jay,

There may be a backup wizard instead that you can use. It will take a while to do the backup and it’ll be stored in the root folder of the hosting.

If that’s not there, then you’ll need to look at either a script to do this for you (suggested, see here for one example http://www.blog.magepsycho.com…..sh-script/ )

Matt

"Selling an item online is easy, but making living from a business that sells online, well that’s something different entirely!"

Ultimo Magento Theme

Jay Bond
Member
May 23, 2014 - 7:19 am
Member Since: February 26, 2014
Forum Posts: 193
sp_UserOfflineSmall Offline

Hi Matt,

Am i able to install installatron so i can back up the easy way in future?

Thanks

Jay

Avatar
Matthew Ogborne

Founder
May 23, 2014 - 8:33 am
Member Since: July 18, 2013
Forum Posts: 4565
sp_UserOfflineSmall Offline

Hi Jay,

Imstallatron is a plugin for the control panel you’re using and as I don’t know which one you’re using see here http://installatron.com/plugin and here http://installatron.com/plugin/buy

Matt

"Selling an item online is easy, but making living from a business that sells online, well that’s something different entirely!"

Ultimo Magento Theme

Avatar
Jim @ Moogento
Global

Partner
July 28, 2014 - 12:04 pm
Member Since: November 7, 2013
Forum Posts: 688
sp_UserOfflineSmall Offline

If you haven’t tried this, Magento Team released a 5.4 patch in January. Maybe try that on a test setup.

  • pickPack - smarter Magento packing sheets and warehouse picklists
  • shipEasy - process multiple orders with no sweat & get a visual sales overview easily

 

Why Should You Join UnderstandingE?

 
  • Access to over 500 step-by-step video tutorials
  • +20 video courses available
  • Magento, M2E Pro, Magmi, eBay, Amazon & Design all covered
  • Everything is in 100% Plain English
  • Learn how to build your own multi-channel software for eBay & Amazon
  • Access to the community forums, meet fellow business owners like yourself

Join Now with 2 Clicks

 

Join now for less that £1 per day you can gain access to over 400 step-by-step video tutorials & learn how to build your very own multi-channel software.

 

Forum Timezone: Europe/London

Most Users Ever Online: 1012

Currently Online:
29 Guest(s)

Currently Browsing this Page:
1 Guest(s)

Top Posters:

Jim @ Moogento: 688

Steve Froggatt: 514

Badeth - UE: 513

Jimbob: 453

Paul Cartwright: 414

Forum Stats:

Groups: 6

Forums: 37

Topics: 5221

Posts: 27486

Administrators: Matthew Ogborne: 4565, Dave Furness: 4606