Hello, 

after upgrading site to cakephp 2.1 i found some problems with uploading 
files on the remote server. On localhost site works without problems, but 
if i try to upload images to the  live site i have  this error message.

#######################################

*Warning* (2): file_get_contents(/phpsbzxKk) [function.file-get-contents]: 
failed to open stream: No such file or directory [*CORE/Cake/Utility/File.php*, 
line *159*]
Code Context

$bytes  =       false
$mode   =       'rb'
$force  =       false

file_get_contents - [internal], line ??
File::read() - CORE/Cake/Utility/File.php, line 159
MeioUploadBehavior::_copyFileFromTemp() - 
APP/Model/Behavior/MeioUploadBehavior.php, line 1048
MeioUploadBehavior::_uploadFile() - APP/Model/Behavior/MeioUploadBehavior.php, 
line 676
MeioUploadBehavior::upload() - APP/Model/Behavior/MeioUploadBehavior.php, line 
257
MeioUploadBehavior::beforeSave() - APP/Model/Behavior/MeioUploadBehavior.php, 
line 204
ObjectCollection::trigger() - CORE/Cake/Utility/ObjectCollection.php, line 130
call_user_func - [internal], line ??
CakeEventManager::dispatch() - CORE/Cake/Event/CakeEventManager.php, line 245
Model::save() - CORE/Cake/Model/Model.php, line 1642
ProductsController::admin_add() - APP/Controller/ProductsController.php, line 
138
ReflectionMethod::invokeArgs() - [internal], line ??
Controller::invokeAction() - CORE/Cake/Controller/Controller.php, line 484
Dispatcher::_invoke() - CORE/Cake/Routing/Dispatcher.php, line 104
Dispatcher::dispatch() - CORE/Cake/Routing/Dispatcher.php, line 86
[main] - APP/webroot/index.php, line 96

**Headers already sent in file 
"/home/detasba/public_html/lib/Cake/Utility/Debugger.php" on line "761", 
dumping error message as text:**

phpThumb() v1.7.11-201108081537
http://phpthumb.sourceforge.net

Unknown image type identified by "" () in SourceImageToGD() [3659]

####################################

Help me. Thanks 


-- 
Our newest site for the community: CakePHP Video Tutorials 
http://tv.cakephp.org 
Check out the new CakePHP Questions site http://ask.cakephp.org and help others 
with their CakePHP related questions.


To unsubscribe from this group, send email to
[email protected] For more options, visit this group at 
http://groups.google.com/group/cake-php

Reply via email to