1
Reintjan
xsgal problem
  • 2007/1/29 15:04

  • Reintjan

  • Not too shy to talk

  • Posts: 144

  • Since: 2005/3/17


I installed xsgal last week. Trying to use it gives me an debug error:

Warning: opendir(/usr/local/apache/htdocs/uploads/xsgal/) [function.opendir]: failed to open dir: No such file or directory in file /modules/xsgal/include/functions.php line 59

In settings.php I set this for the gallery address: /uploads/xsgal/

Anyone who knows how to solve this problem?
Be smart, stay smart. Stay one step ahead...

2
Reintjan
Re: xsgal problem
  • 2007/1/31 11:04

  • Reintjan

  • Not too shy to talk

  • Posts: 144

  • Since: 2005/3/17


Anyone?
Be smart, stay smart. Stay one step ahead...

3
Peekay
Re: xsgal problem
  • 2007/1/31 11:34

  • Peekay

  • XOOPS is my life!

  • Posts: 2335

  • Since: 2004/11/20


Just a guess (I don't have that module) but maybe the path needs to be the full server path? Have you tried it without the trailing slash? Folder permissions set correctly? It may be that your MySQL and PHP versions are not compatible with the module.
A thread is for life. Not just for Christmas.

4
rabideau
Re: xsgal problem
  • 2007/1/31 13:28

  • rabideau

  • Home away from home

  • Posts: 1042

  • Since: 2003/4/25


Here's an example of my settings, which work fine...

// ---------- Settings ----------
// Configure these settings, to use the gallery.

// Your gallery folder (this is where your pictures and picture folders are located).
$gallery_address = '/gallery/photos/';

// Add foldernames to exclude. (add more lines like this on more excludes.)
$excluded_folders[] = 'cgi-bin';

I would note that my gallery dir is at public_html/gallery
Pax vobiscum,
...mark

may the road rise to meet your feet!

http://treemagic.org

5
Reintjan
Re: xsgal problem
  • 2007/1/31 23:25

  • Reintjan

  • Not too shy to talk

  • Posts: 144

  • Since: 2005/3/17


Ok, I found out that root_path and virtual path can't be followed by same gallery_address because 1 does require a slash they other doesn't.

So I made two variables gallery_address1 and gallery_address2. Now it's working...

Except for the exif info not showing up on detailed information. No debug errors either.

Again, can someone please help?
Be smart, stay smart. Stay one step ahead...

6
qcorek
Re: xsgal problem
  • 2008/1/18 21:56

  • qcorek

  • Just popping in

  • Posts: 68

  • Since: 2007/10/7


Warning: opendir(/srv/www/htdocs/srv/www/htdocs/uploads/wozy/) [function.opendir]: failed to open dir: No such file or directory in file /modules/xsgal/include/functions.php line 59

Warning: readdir(): supplied argument is not a valid Directory resource in file /modules/xsgal/include/functions.php line 61

Warning: opendir(/srv/www/htdocs/srv/www/htdocs/uploads/wozy) [function.opendir]: failed to open dir: No such file or directory in file /modules/xsgal/include/functions.php line 214


so how should i fix it?

7
optikool
Re: xsgal problem
  • 2008/1/25 20:48

  • optikool

  • Not too shy to talk

  • Posts: 154

  • Since: 2007/3/26


You need to take a look at the path you specified for the location of your images. It is not correct. It looks like you specified /srv/www/htdocs/uploads/wozy instead of uploads/wozy for your gallery directory.

8
allein
Re: xsgal problem
  • 2008/9/9 11:30

  • allein

  • Just popping in

  • Posts: 15

  • Since: 2006/12/13


Quote:
Ok, I found out that root_path and virtual path can't be followed by same gallery_address because 1 does require a slash they other doesn't.

So I made two variables gallery_address1 and gallery_address2. Now it's working...

Hello!
Can you please be a bit more specific about this. I do not understand what you mean by root_path and virtual_path settings. Did you edit settings.php (just for xsgal) or something else too? Can you CP how these settings for gallery_address1 and 2 look at your system?

Login

Who's Online

244 user(s) are online (125 user(s) are browsing Support Forums)


Members: 0


Guests: 244


more...

Donat-O-Meter

Stats
Goal: $100.00
Due Date: May 31
Gross Amount: $0.00
Net Balance: $0.00
Left to go: $100.00
Make donations with PayPal!

Latest GitHub Commits