close ad
Help us test the new Databridge BETA with MySQLi support
open ad
View Menu

Technical Support Forums

Free, outstanding support from WebAssist and your colleagues

rating

Image upload error

Thread began 11/15/2012 5:25 pm by FrankJay | Last modified 11/21/2012 5:46 pm by Ray Borduin | 481 views | 5 replies |

FrankJay

Image upload error

I have created product pages using DB 109 and while adding products on my local machine i get the following messages:
Warning: rename(,C:\xampp\htdocs\h_kayalami_responsive\ad_min\..\img\bicycles\._JULIET-100-V-MY13-DB-b.jpg) [function.rename]: No such file or directory in C:\xampp\htdocs\h_kayalami_responsive\webassist\file_manipulation\helperphp.php on line 190

Warning: rename(,C:\xampp\htdocs\h_kayalami_responsive\ad_min\..\img\bicycles\thumb\._JULIET-100-V-MY13-DB-b.jpg) [function.rename]: No such file or directory in C:\xampp\htdocs\h_kayalami_responsive\webassist\file_manipulation\helperphp.php on line 190

Warning: rename(,C:\xampp\htdocs\h_kayalami_responsive\ad_min\..\img\bicycles\small\._JULIET-100-V-MY13-DB-b.jpg) [function.rename]: No such file or directory in C:\xampp\htdocs\h_kayalami_responsive\webassist\file_manipulation\helperphp.php on line 190

Warning: Cannot modify header information - headers already sent by (output started at C:\xampp\htdocs\h_kayalami_responsive\webassist\file_manipulation\helperphp.php:190) in C:\xampp\htdocs\h_kayalami_responsive\ad_min\kpc_bicycles_update.php on line 264

When checking the results page I notice the product details has been uploaded but not the product image.

Any ideas to resolve issue?

Sign in to reply to this post

Jason ByrnesWebAssist

send a copy of the page please, theres a problem with the upload folder path setting.

Sign in to reply to this post

FrankJay

Attached page

Thanks Jason
See attached insert/update pages.

Attached Files
kpc_bicycles_update.zip
Sign in to reply to this post

Jason ByrnesWebAssist

the error messages above are for the update page only, does the insert page work?


on the insert page, the default file setting is using a relative path:

'DefaultFileName' => "../img/design/spacer-30.jpg",


the default file name is just the file name, it should not include the path:
'DefaultFileName' => "spacer-30.jpg",


in your php.ini file, make sure that the upload_temp_dir is properly set.

see the xampp documetation for locating the php.ini file:
xampp-windows.html#1172

Sign in to reply to this post

FrankJay

Still getting the errors

Greetings Jason,

Yes, I am getting this error on both the insert and update pages.
When using the DA UI I am selecting the folder to navigate and select the default file name, hence the relative path.

I have changed the default file name to not include the path.

See the settings for my php.ini upload_template_dir

; Whether to allow HTTP file uploads.
file_uploads = On

; Temporary directory for HTTP uploaded files (will use system default if not
; specified).
upload_tmp_dir = /Applications/XAMPP/xamppfiles/temp/

; Maximum allowed size for uploaded files.
upload_max_filesize = 128M

I am still getting the errors when uploading photographs. Please advise further.

What puzzles me though is the part of the error message "responsive/ad_min/../img/specials/".

The directory path above is incorrect as the "../img/specials/" is actually in the root folder of the website.

Look forward to your assistance Jason. Thank you

Sign in to reply to this post

Ray BorduinWebAssist

I've opened a support incident so that we can look into this with you in a screen sharing session. I'm not sure exactly what is going on, but I'm sure we can figure it out by debugging it with you.

Sign in to reply to this post

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...