![]() |
Yet another upload_path problem - Printable Version +- CodeIgniter Forums (https://forum.codeigniter.com) +-- Forum: Archived Discussions (https://forum.codeigniter.com/forumdisplay.php?fid=20) +--- Forum: Archived Development & Programming (https://forum.codeigniter.com/forumdisplay.php?fid=23) +--- Thread: Yet another upload_path problem (/showthread.php?tid=3631) |
Yet another upload_path problem - El Forum - 10-14-2007 [eluser]PoWah[/eluser] I have upload_path defined Code: $config['upload_path'] = realpath(BASEPATH.'../static/images/katalogas/kategorijos/'); when I echo it I see "C:\wamp\www\ptvs\static\images\katalogas\kategorijos" and it is correct! Why I get an error "The upload path does not appear to be valid." ? I'm now coding on WAMP server under Windows.. tried to search the forum and I saw tons of similar posts but ... :/ Yet another upload_path problem - El Forum - 10-14-2007 [eluser]gunter[/eluser] using realpath() isn´t necessary because the library already uses the realpath()... and BASEPATH isn´t necessary too, because you are already in the base folder... so, if you upload folder is one level over (?correct english word?) the base folder (with the index.php) then just use this... "../static/images/katalogas/kategorijos/' path can be described absolute or relative says the userguide... Yet another upload_path problem - El Forum - 10-14-2007 [eluser]Référencement Google[/eluser] I solved the same kind of problem just doing: Code: $config['upload_path'] = realpath('uploads'); While uploads is a dir at the root of the website: /uploads Yet another upload_path problem - El Forum - 10-14-2007 [eluser]Majd Taby[/eluser] not to beat a dead horse but, did you set your permissions? Yet another upload_path problem - El Forum - 10-17-2007 [eluser]Unknown[/eluser] [quote author="elitemedia" date="1192422797"]I solved the same kind of problem just doing: Code: $config['upload_path'] = realpath('uploads'); While uploads is a dir at the root of the website: /uploads[/quote] For those looking for further help, this solved my problem. Thanks! Yet another upload_path problem - El Forum - 10-18-2007 [eluser]PoWah[/eluser] it doesnt solved my problem :/ maybe there is something related to that fact that I'm using modular separation ? Yet another upload_path problem - El Forum - 10-07-2008 [eluser]Yash[/eluser] Old topic but still helps me... Thank you [quote author="Too Pixel" date="1192422797"]I solved the same kind of problem just doing: Code: $config['upload_path'] = realpath('uploads'); While uploads is a dir at the root of the website: /uploads[/quote] |