Having problems installing this app in a subdirectory



Excellent work thanks. Tried out the tutorial and everything works as expected on MAMP (Mac osx) in a sub-directory. However, tried to install it on my web host (Site5) in a sub-directory and it failed to redirect me to the setup screen. When i run the script pointing it to (gallery folder is where this app lives):

All i get is dfgallery redirecting me to: and nothing happens?

Anyway idea what might be the issue?





Anonymous's picture

Hi, I guess I have the same problem. I've been watching the installation video over and over, but I'm still not able to make it work.
I have created i new database on my server and uploaded the dfg folder. But then I try accessing it, I only get this error:

Warning: require_once(lib//ci/codeigniter/CodeIgniter.php) [function.require-once]: failed to open stream: No such file or directory in /home/barbncom/public_html/dfg/index.php on line 119

Warning: require_once(lib//ci/codeigniter/CodeIgniter.php) [function.require-once]: failed to open stream: No such file or directory in /home/barbncom/public_html/dfg/index.php on line 119

Fatal error: require_once() [function.require]: Failed opening required 'lib//ci/codeigniter/CodeIgniter.php' (include_path='.:/usr/lib/php:/usr/local/lib/php') in /home/barbncom/public_html/dfg/index.php on line 119

If it is caused by the lack of some file, how can I get it there? I have even tried uploading the whole zip and unzipping it on the server, but it still does not work.
What do I have to do in order to access the installation-panel?

Thank you very much for the help

Wed, 01/28/2009 - 23:34
Anonymous's picture

Please check my site:, a error displayed: "Firefox has detected that the server is redirecting the request for this address in a way that will never complete."
I've already CHMOD app/config to 777.

Tue, 01/27/2009 - 20:17
sunburst's picture

Here's the site:

I have placed a phpinfo.php file in /test but i can't even access it (probably more of a Drupal issue).

Test is the directory where dfgallery lives in. I have also setup a subdomain pointing to the same directory. but it gives me a server config error when i tried to access it using that domain URL (this i do not think it an issue with Drupal ).

The main site runs on Drupal, i have tried the link you provided but it didn't help.


Tue, 01/27/2009 - 01:58
sunburst's picture

Thanks to commenter Andib, changing the .htaccess file to what he said resolved the issue:

Andib's comment (below):
After uploading the files to my server, i also run into the 404 problem. I modified the mod_rewrite section in the .htaccess (see below) and everything just works fine for me. Perhaps this might help some of you.

RewriteEngine On
RewriteBase /dfgallery
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule ^(.+)$ index.php?/$1 [L]

Thu, 01/29/2009 - 02:02
Anonymous's picture

got a different problem now.

The requested URL /dfgallery/admin/gallery was not found on this server.

Tue, 02/03/2009 - 21:10
Anonymous's picture

How can be setup the path for folder import in the corresponding field? Relative to which path?

Tue, 01/27/2009 - 01:39
Anonymous's picture

@sunburst. Make sure that .htaccess is there, in the root folder of the dfGallery. If you just dragged the files/directories and .htaccess was hidden (due to the explorer/finder settings), it was not uploaded. This is what happened to me :)

Tue, 01/27/2009 - 01:38
admin's picture

@ALL can you please provide me the URLs of the site so that I can debug why you are facing this error.

Also refer for more details on this issue

Tue, 01/27/2009 - 00:07
Anonymous's picture

Hi i have problem
i hope help me


A newer version of the gallery has been installed, and has to undergo an upgrade process from version 0 to 2.

Below are the list of upgrade task that need to be executed

Version Description
2 Intall the core users, and gallery module.

what is that ?

Sun, 01/25/2009 - 17:48
Anonymous's picture

me too...

Mon, 01/26/2009 - 17:34