"The upload path does not appear to be valid" (PULLING MY HAIR OUT !!!!) [SOLVED] |
[eluser]Christoph Rumpel[/eluser]
Code: if ( ! $this->image_lib->adaptive_resize()) Did u try to put out some errors messages like me above?
[eluser]Mohammad Rashidi[/eluser]
gd2 is enabled, but i faced this error: Fatal error: Call to undefined method CI_Image_lib::adaptive_resize() in G:\wamp\www\application\controllers\registration.php on line 304
[eluser]Christoph Rumpel[/eluser]
Hi, i think this is because of the extension library i use. Adaptive_resize is a method from this library. MY Image lib Extension http://codeigniter.com/wiki/MY_Image_lib_Extension/ With this library you get more settings for resizing. If youre not using, you need to call the default methode: resize(); I hope this fixes your problem.
[eluser]Mohammad Rashidi[/eluser]
SOLVED! i was loading image_lib before & after the configurations. first one without config file and the second one with that
[eluser]InsiteFX[/eluser]
If you have a library and you are calling a methos in another library then you need to use the CI Super Object! Code: $CI =& get_instance(); InsiteFX
[eluser]Christoph Rumpel[/eluser]
:-) I am struggling with multiple upload of images for hours!=( Every documentation i find in the Internet does not work and it seems like nobody solved it yet=(
[eluser]InsiteFX[/eluser]
There is a jQuery multiple upload do a search for jQuery Multiple Uploads. InsiteFX
[eluser]Christoph Rumpel[/eluser]
Do u mean Uploadify? Did u test it? It seems qutite difficult implementing it with codeigniter without documentation. Additionally i cant understand why it is that difficult to upload some files within one form. CI must know that many people use it. Probably it isnt that difficult, but i just cant get how it works. I just can upload the first onput file of my form.
[eluser]zool2005[/eluser]
[quote author="InsiteFX" date="1304786533"]Why does everyone miss the period? Code: $config['upload_path'] = './uploads/'; ./ up one directory! InsiteFX[/quote] Well, the period fixed it for me finally. However, I did need to use $this->upload->initialize($config); too to get it to work properly. |
Welcome Guest, Not a member yet? Register Sign In |