close ad
Databridge V2 with MySQLi support IS Now Available!
open ad
View Menu

Technical Support Forums

Free, outstanding support from WebAssist and your colleagues

rating

Error Messages

Thread began 11/07/2009 10:12 am by dataworks388155 | Last modified 1/14/2010 2:20 pm by Jason Byrnes | 2063 views | 10 replies |

dataworks388155

Error Messages

I am getting the following messages when I attempt to upload an image file using Digital File Pro
Warning: unlink(/hermes/web01c/b1006/hy.dcrawford/images/83925f911255331d339534f7e5621e1b.png) [function.unlink]: No such file or directory in /hermes/web01c/b1006/hy.dcrawford/WA_DigitalFilePro/HelperPHP.php on line 212

Warning: unlink(/hermes/web01c/b1006/hy.dcrawford/images/222d587f36fe6166541139fb484795a1.png) [function.unlink]: No such file or directory in /hermes/web01c/b1006/hy.dcrawford/WA_DigitalFilePro/HelperPHP.php on line 212

Warning: Cannot modify header information - headers already sent by (output started at /hermes/web01c/b1006/hy.dcrawford/WA_DigitalFilePro/HelperPHP.php:212) in /hermes/web01c/b1006/hy.dcrawford/reportbookrequest.php on line 178

Please Help. The file is attached in zip format

Attached Files
reportbookrequest.php.zip
Sign in to reply to this post

Jason ByrnesWebAssist

One thing I can see wrong on this page is the name of one of the file fields has a space at the beginning. Change:

html:
<input name=" RulesRegs" type="file" id=" RulesRegs" size="35" />



to:

html:
<input name="RulesRegs" type="file" id="RulesRegs" size="35" />



If that does not resolve the problem, we will need to determine which of the file uploads is causing the error.

Remove the file upload server behaviors from the page on at a time to narrow down which one is causing the error, once we know that, we will have a better place to begin looking into the cause.

Sign in to reply to this post

dataworks388155

Still a problem

Thanks but that did not resolve the problem. Deleted the space, Still getting the following errors


Warning: unlink(/hermes/web01c/b1006/hy.dcrawford/images/d35c6bf93d7158167a7f30d40758319b.png) [function.unlink]: No such file or directory in /hermes/web01c/b1006/hy.dcrawford/WA_DigitalFilePro/HelperPHP.php on line 212

Warning: unlink(/hermes/web01c/b1006/hy.dcrawford/images/926a650bef249bb863600c8c7331cc60.png) [function.unlink]: No such file or directory in /hermes/web01c/b1006/hy.dcrawford/WA_DigitalFilePro/HelperPHP.php on line 212

Warning: Cannot modify header information - headers already sent by (output started at /hermes/web01c/b1006/hy.dcrawford/WA_DigitalFilePro/HelperPHP.php:212) in /hermes/web01c/b1006/hy.dcrawford/reportbookrequest.php on line 178

Sign in to reply to this post

Jason ByrnesWebAssist

Did you try the rest of my suggestions:

  If that does not resolve the problem, we will need to determine which of the file uploads is causing the error.

Remove the file upload server behaviors from the page on at a time to narrow down which one is causing the error, once we know that, we will have a better place to begin looking into the cause.  
Sign in to reply to this post

dataworks388155

Yes

Yes, I did. Sorry. I know that it is the Upload Logo that is causing the problem. There are no errors when I delete this error.

Sign in to reply to this post

Jason ByrnesWebAssist

Excellent, that information helps.


The logo is the only one you are resizing. resizing an image can take quite a bit of memory from the server.

Inthe php.ini file, increase the memory_limit setting, try setting it to 256M:

memory_limit = 256M

Sign in to reply to this post

dataworks388155

What?

Please advise where I can find this php.ini file you are speaking about?

Sign in to reply to this post

dataworks388155

No, Same Problem

I found the php.ini file (on my web server control panel), and edited it to change memory_limit from 10M to 256M, but am still getting the same error messages.

Sign in to reply to this post

Jason ByrnesWebAssist

OK, Dani will be contacting you to look into this further.

Sign in to reply to this post

Carl

Hi, has anyone figured out a solution to this error? I cannot change my memory_limit from 32M on my host and by the sounds of it, it does not work anyway.

My code is;
Warning: unlink(/home/blacklak/public_html/a32/portfolio/../../images/websites/large/f7ac1338ba0d76c58ab7658155880e86.png) [function.unlink]: No such file or directory in /home/blacklak/public_html/WA_DigitalFilePro/HelperPHP.php on line 212

Warning: unlink(/home/blacklak/public_html/a32/portfolio/../../images/websites/standard/964340bb4790e0cf41fff18e388309d8.png) [function.unlink]: No such file or directory in /home/blacklak/public_html/WA_DigitalFilePro/HelperPHP.php on line 212

Warning: unlink(/home/blacklak/public_html/a32/portfolio/../../images/websites/thumb/32af76e3e3a2ef1a7d75554a23431126.png) [function.unlink]: No such file or directory in /home/blacklak/public_html/WA_DigitalFilePro/HelperPHP.php on line 212

Warning: Cannot modify header information - headers already sent by (output started at /home/blacklak/public_html/WA_DigitalFilePro/HelperPHP.php:212) in /home/blacklak/public_html/a32/portfolio/insertimage.php on line 124


Line 212 in HelperPHP.php is the unlink($tmpFileNamePath); (as you know)
Line 124 in insertimage.php is header("Location: ".$WA_redirectURL); (which is the last part of the DataAssist Insert function.

Oh and it only happens when uploading .png files, if i upload .jpg files they work perfectly (except they are poor quality compared to the .png which is why I want to use the .png format)

Thanks

Carl

Sign in to reply to this post
loading

Build websites with a little help from your friends

Your friends over here at WebAssist! These Dreamweaver extensions will assist you in building unlimited, custom websites.

Build websites from already-built web applications

These out-of-the-box solutions provide you proven, tested applications that can be up and running now.  Build a store, a gallery, or a web-based email solution.

Want your website pre-built and hosted?

Close Windowclose

Rate your experience or provide feedback on this page

Account or customer service questions?
Please user our contact form.

Need technical support?
Please visit support to ask a question

Content

rating

Layout

rating

Ease of use

rating

security code refresh image

We do not respond to comments submitted from this page directly, but we do read and analyze any feedback and will use it to help make your experience better in the future.

Close Windowclose

We were unable to retrieve the attached file

Close Windowclose

Attach and remove files

add attachmentAdd attachment
Close Windowclose

Enter the URL you would like to link to in your post

Close Windowclose

This is how you use right click RTF editing

Enable right click RTF editing option allows you to add html markup into your tutorial such as images, bulleted lists, files and more...

-- click to close --

Uploading file...