Win a copy of Transfer Learning for Natural Language Processing (MEAP) this week in the Artificial Intelligence and Machine Learning forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Tim Cooke
  • Paul Clapham
  • Devaka Cooray
  • Bear Bibeault
Sheriffs:
  • Junilu Lacar
  • Knute Snortum
  • Liutauras Vilda
Saloon Keepers:
  • Ron McLeod
  • Stephan van Hulst
  • Tim Moores
  • Tim Holloway
  • Piet Souris
Bartenders:
  • salvin francis
  • Carey Brown
  • Frits Walraven

don't work auto resize uploaded image

 
Greenhorn
Posts: 28
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
This method allows uploading a php file and images, after you modify it so that the images are authored, it no longer works and the error comes out:

>Warning: imagecreatefromjpeg(C:\xampp\tmp\php8ED3.tmp): failed to open stream: No such file or directory in C:\xampp\htdocs\bconocimiento\controller\solucion.controller.php on line 220

>Warning: getimagesize(C:\xampp\tmp\php8ED3.tmp): failed to open stream: No such file or directory in C:\xampp\htdocs\bconocimiento\controller\solucion.controller.php on line 221

>Warning: imagecopyresampled() expects parameter 2 to be resource, boolean given in C:\xampp\htdocs\bconocimiento\controller\solucion.controller.php on line 227

>Warning: Cannot modify header information - headers already sent by (output started at C:\xampp\htdocs\bconocimiento\controller\solucion.controller.php:221) in C:\xampp\htdocs\bconocimiento\controller\solucion.controller.php on line 236


[/code]
 

it is saved in the database Name, Type, Description and Page, but the image folder is not created where a folder with the name of Page is created, where the images are saved, what should I change so that the method works again?
 
Shiny ad:
Two software engineers solve most of the world's problems in one K&R sized book
https://coderanch.com/wiki/718759/books/Building-World-Backyard-Paul-Wheaton
    Bookmark Topic Watch Topic
  • New Topic