austgl / phppi

Automatically exported from code.google.com/p/phppi
GNU General Public License v3.0
0 stars 0 forks source link

Linked folders are not accessible via #12

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1. Make a fresh phppi install
2. Link myanotherfolder in the phppi install directory
ln -s ../../myanotherfolder
3. access the gallery by typing ?myanotherfolder in the url

What is the expected output? What do you see instead?
Expected content of myanotherfolder
Instead it shows error Folder doesn't exist

What version of PHPPI are you using? On what operating system?
phppi 1.1.1

Please provide any additional information below.

PHP Warning:  Missing argument 1 for PHPPI::setThumbSize(), called in 
.../phppi/includes/classes/phppi.php on line 107 and defined in 
.../phppi/includes/classes/phppi.php on line 611
PHP Stack trace:
PHP   1. {main}() .../index.php:0
PHP   2. PHPPI->loadSettings() .../index.php:33
PHP   3. PHPPI->setThumbSize() .../phppi/includes/classes/phppi.php:107

Original issue reported on code.google.com by eug...@hutorny.in.ua on 24 Oct 2012 at 10:41

GoogleCodeExporter commented 9 years ago
I honestly haven't tried symlinks with PHPPI so it's no surprise if it isn't 
working. The next version allows for pointing your gallery at any local 
directory which should help with this issue but i'll look into symlinks as well.

Original comment by gorounreal on 24 Oct 2012 at 11:31