(URGENT) Help with Troubleshooting PHP Memory Limit Error

Ακυρώθηκε Αναρτήθηκε Aug 30, 2013 Πληρώθηκε κατά την παράδοση
Ακυρώθηκε Πληρώθηκε κατά την παράδοση

*** THIS ISSUE ABSOLUTELY NEEDS TO BE ADDRESSED BEFORE TOMORROW, SATURDAY, AUGUST 31, 2013. DO NOT BID UNLESS YOU CAN DEFINITELY DELIVER ON THIS DEADLINE. ***

I'm having a problem with a PHP script that was custom developed for my client. What the script does is take as input 3 CSV files which contain order details from VirtueMart, customer details from VirtueMart, and custom parameters for generating a book PDF. The script takes this input and outputs a PDF of a book which is then sent to the printer.

Please let me know the cost for debugging this issue. Thanks!

Here is the error:

"Fatal error: Out of memory (allocated 358350848) (tried to allocate 12975059 bytes) in /home1/cmserver/public_html/storybook_export/tcpdf/[login to view URL] on line 20464"

This error is strange because the script is only trying to allocate 13MB and there are 256MB of available memory for the PHP script to use, which is defined in [login to view URL] (it's shared hosting, so we can't change this). I tried resolving this problem with the web host without success. The script is hosted on a shared HostGator server. So it seems that there is plenty of available memory for the script to allocate, but it can't allocate a small amount for some reason. Here are the details for accessing the script on the server:

HostGator

Username: XXXX

Password: XXXX

FTP Info

Server: [login to view URL]

Username: XXXX

Password: XXXX

The script is located in /public_html/storybook_export/ and "[login to view URL]" is what will be initially executed by VirtueMart upon order completion. Upon the successful submission of an order through VirtueMart, it will run this custom PHP script after saving 3 CSV files to /public_html/storybook_export/sources/ with order, customer, and book details – this will all be completed later, but I'm telling you so you have an idea of how things will work in the end.

Here is the URL for running the script:

[login to view URL] (replace 253 with order ID)

What this does is import the 3 CSV files I mentioned before, which are located in /public_html/storybook_export/sources/ then enters in a MySQL the details for that order (the same order ID cannot be executed twice, so you will need to increment the 3 CSV files each time you run the script) and then saves a final PDF for printing to /public_html/storybook_export/storybooks/.

This script used to work perfectly, but at some point code was changed somewhere, and I can't figure out how to resolve this bug.

Please let me know your thoughts at your convenience. Thanks!

Apache Διόρθωση Σφαλμάτων MySQL PHP Δοκιμή Λογισμικού

Ταυτότητα Εργασίας: #4879147

Σχετικά με την εργασία

10 προτάσεις Απομακρυσμένη εργασία Ενεργό Aug 30, 2013

10 freelancers κάνουν προσφορές κατά μέσο όρο $92 για αυτή τη δουλειά

rajeshsonisl

Quality work assured. Ready to get started. Thanks.

$154 USD σε 1 μέρα
(1006 Αξιολογήσεις)
8.8
sat12

i will fix the issue within 2 hours. needs to write one function ini_set and have to pass one parameter.

$105 USD σε 1 μέρα
(462 Αξιολογήσεις)
7.2
sabdsouza

I can help you with this

$60 USD σε 1 μέρα
(151 Αξιολογήσεις)
6.6
jozsefk

Hi. Let me help you with this task. Thank you.

$90 USD σε 3 μέρες
(79 Αξιολογήσεις)
5.3
saibabaa

Please Check PM

$88 USD σε 1 μέρα
(26 Αξιολογήσεις)
5.1
brylu

Hello Your php memory limit is to high and server runs out of memory. Do you have root level access to the serwer to lower php memory limit for a start?

$50 USD σε 1 μέρα
(37 Αξιολογήσεις)
5.2
arundutt83

Sir, I can do it for you. Please check PMB.

$66 USD σε 1 μέρα
(14 Αξιολογήσεις)
3.7
dd1988

Hi, I can complete it within your required time limit

$105 USD σε 1 μέρα
(12 Αξιολογήσεις)
3.7
wwwsol

i can do that.

$105 USD σε 3 μέρες
(3 Αξιολογήσεις)
1.6