Im having trouble with setting the G2 of URI variable of Gallery module
k.tang - February 11, 2007 - 18:48
| Project: | Gallery |
| Version: | 4.7.x-1.x-dev |
| Component: | Code |
| Category: | support request |
| Priority: | critical |
| Assigned: | k.tang |
| Status: | active |
Jump to:
Description
hi all
im having major problems with configuring the gallery module's URI of gallery2. the following error showed:
Embedded Gallery2 Status:
* 'URI of Gallery2' variable: Error
o URL derived from http://localhost:6789/pp33tt/Drupal/gallery/ is invalid
* PHP Memory Limit: Success
* Overall Status: Error
does anybody know how solve this problem? or any guidence on this would be much appreciated!
thank u for ur time.

#1
You shouldnt have your standalone gallery installed in '/gallery/', because this conflicts with the Drupal path. Rename the folder of your G2 installation to e.g. 'gallery2' and provide this as 'URI of Gallery2'! You should also read the INSTALL.txt where this is explained or get more information at http://drupal.galleryembedded.com
from INSTALL.txt ...
***Warning*** - Do not name your Gallery2 directory "gallery", call it something else(eg "gallery2"). Calling it "gallery" will cause a conflict with the Drupal gallery.module
as Drupal assumes that http://www.example.com/gallery refers to the Drupal module.
Hope this helps!
#2
Your other post on this topic (which I have now marked as duplicate) gives your final URI as http://localhost:6789/pp33tt/Drupal/settings/Galler2/ . Why is it part of settings?
Please describe the exact paths (obsficated if needed) to your Drupal and Gallery2 directories and the URLs of each.
Have you tried "manual configuration"? The automatic configuration will not work in all host configurations. There are plenty of examples in the help for how to set this up manually for any given site.
Finally, you may want to try a more standard port, rather than 6789.
#3
Drupal installation path:
C:\p3t\public_php\Drupal
gallery module:
C:\p3t\public_php\Drupal\modules\gallery
gallery2 module:
C:\p3t\public_php\Drupal\modules\Galler2
info requested above and cannot change it to a different port due to lack of time and did tried to do it manually but it dosent work or i might of got it wrong.
please can anyone help me on this?
thanks.
#4
Changing status to 'active' -- there is no patch that needs review.
Is your standalone gallery working? Does it have URL: http://localhost:6789/pp33tt/Drupal/modules/Galler2 ? Each posting seems to have Gallery2 in a different location ;-)
It's unusual to have it in drupal/modules but it will work there.
#5
still not working after trying the recommendation.
#6
k.tang - can you please recheck and answer the questions in comment #4. Also, please leave the status of this thread as 'active' -- nobody has supplied any patches in this thread.
#7
Hi all,
Im very new to Drupal. I still have problems with installing the embedded the gallery2. I have changed the gallery 2 folder many times and drupal did not pick it up? Also i have followed the readme file of gallery 2 and installed image frame and image block modules.
This is the following error messge I have received:
# Embedded Gallery2 Status:
* 'URI of Gallery2' variable: Error
o URL derived from http://localhost:6789/p33tt/Drupal/modules/gallery-2.2.1-typical/gallery... is invalid
* PHP Memory Limit: Success
* Overall Status: Error
o You need to fix the above errors before Gallery2 will be embedded in Drupal.
# The configuration options have been saved.
Drupal installation path:
C:\p3t\public_php\Drupal
gallery module:
C:\p3t\public_php\Drupal\modules\gallery
gallery2 module:
Drupal installation path:
C:\p3t\public_php\Drupal
gallery module:
C:\p3t\public_php\Drupal\modules\gallery
gallery2 module:
C:\p3t\public_php\Drupal\modules\gallery-2.2.1-typical\gallery2
Would any one is kind enough to help me out? All or any guidence on this would be much appreciated!
Thanks!
#8
sorry this path -->C:\p3t\public_php\Drupal\modules\gallery is invalid the other path mentioned is the correct one.
#9
1) Does your standalone gallery work?
2) Have you tried manual configuration (instead of auto)? If you think the paths are right and have tried autoconfig a few times and it did not work, then try manual (checkbox + add paths). It is possible that your apache config does not allow the auto config to work.
3) Have you tried using a standard port, instead of 6789?
Finally, please leave this thread as "active" -- you have not provided a patch, so there is no "patch needs work".