1
ipwgc
PLEASE - PLEASE Help me to install xcGallery 1RC1
  • 2006/4/4 2:08

  • ipwgc

  • Quite a regular

  • Posts: 216

  • Since: 2005/8/13


Dear webmasters,

Please help me to install "xcGallery 1RC1"
I'm running XOOPS 2.0.13.2

In Batch Add Pictures link, The function allows you to add a batch of picture that your have uploaded on your server by FTP.
Select the directory where you have uploaded your pictures.

This is the error message.
"No new picture was found"

TAKE A LOOK MY SITE
http://www.ipwgc.com/english/modules/xcgal/

Regards,
David

2
peterr
Re: PLEASE - PLEASE Help me to install xcGallery 1RC1
  • 2006/4/4 7:03

  • peterr

  • Just can't stay away

  • Posts: 518

  • Since: 2004/8/5 9


There doesn't seem to be any albums setup, is that the cause ?

Some posts on other sites (re Coppermine), suggested that in some versions of php, the scandir() function has problems.
NO to the Microsoft Office format as an ISO standard.
Sign the petition

3
peterr
Re: PLEASE - PLEASE Help me to install xcGallery 1RC1
  • 2006/4/4 9:21

  • peterr

  • Just can't stay away

  • Posts: 518

  • Since: 2004/8/5 9


It seems the scandir() function is only for PHP 5

What version of php are you using ?

The code that causes the error message is ..

if (scandir($HTTP_GET_VARS['startdir'].'/'$expic_array)){
    echo 
"<tr><td colspan='3' align='center' class='foot'>";
    echo 
"<input type="submit" class="button" name="insert" value=""._AM_SRCHNEW_INS_SEL."" />";
    echo 
"</td></tr></form>";
} else {
    echo 
"<tr><td colspan='3' align='center' class='even'>";
    echo 
"<div class='errorMsg'><br /><br />";
    echo 
"<b>"._AM_SRCHNEW_NO_PIC."</b>";
    echo 
"<br /><br /><br /></div></td></tr></form>";
}


and the error message is sourced from that define.

define("_AM_SRCHNEW_NO_PIC","No new picture was found");


could be just the php version ??
NO to the Microsoft Office format as an ISO standard.
Sign the petition

4
ipwgc
Re: PLEASE - PLEASE Help me to install xcGallery 1RC1
  • 2006/4/4 21:01

  • ipwgc

  • Quite a regular

  • Posts: 216

  • Since: 2005/8/13


Hi peterr,

I am very frustrated with this program, I have treated all the XCGALLERY versions, but anything works.

The version of PHP in the server is:
===========================
Operating system Linux
Kernel version: 2.4.21-4.EL
Apache version 1.3.34 (Unix)
PERL version 5.8.0
PHP version 4.3.10
MySQL version 4.0.25-standard
==============================

Thank you for all the help until we install xcgalerry together

Regards,
David

5
jensclas
Re: PLEASE - PLEASE Help me to install xcGallery 1RC1

I Just checked your site and I have say nothingwill work unless you first create albums.
(edit - wrong link)
let me find the right one

Access the xcgal admin by going to Administration/modules/xcGallery. Create a category(s) for your albums. Then create albums in the categories. Then go to a specific album and 'batch upload'.

I thought I had a post somewhere clearly covering this but I haven't time to find it - got to go to work.


Cheers

6
ipwgc
Re: PLEASE - PLEASE Help me to install xcGallery 1RC1
  • 2006/4/4 21:42

  • ipwgc

  • Quite a regular

  • Posts: 216

  • Since: 2005/8/13


Hi jensclas,

Yes, the albums is ready, I create 2 albums.
I believe the problem is the PHP version on the server.
I don't know how to update the PHP, because I rent the hosting.

Regards,
David

7
peterr
Re: PLEASE - PLEASE Help me to install xcGallery 1RC1
  • 2006/4/5 1:29

  • peterr

  • Just can't stay away

  • Posts: 518

  • Since: 2004/8/5 9


David,

Yes, as you have now a category and album, and still have the error, then we can rule out those two factors as the cause.

The php site is very clear about the scandir() function, it's only for php5, so if I downloaded the corect xcgallery (1RC1), it was using _that_ function, and there is no way it will work without php5.

Updating your server to use php5 is not really the answer, especially on a shared server, and certainly not for one line of code (the scandir() function).

I downloaded the xcgallery that is mentioned in this news story, checked out the code that does the uploading via batch, and there is a new function called xcscandir() , which does the recursive search for files, in short, 'the php4 way' of doing it.

Now, one thing I'm not sure on at all, is I think that version is for XOOPS 2.2.x, but it may also be okay for XOOPS 2.0.13.2 (as the version you are using is the recommended version). Possibly the author of the module may be able to tell you, or someone else who uses xcGallery with php4.x and XOOPS 2.0.13.2

HTH
NO to the Microsoft Office format as an ISO standard.
Sign the petition

8
ipwgc
Re: PLEASE - PLEASE Help me to install xcGallery 1RC1
  • 2006/4/5 3:53

  • ipwgc

  • Quite a regular

  • Posts: 216

  • Since: 2005/8/13


Hi peterr,

Thank you for all information on this installation problem,

I register you as admin on my site
Login
USER: "*******"
PASS: "*******"
http://www.ipwgc.com/english/user.php

Maybe you discover the real problem and we can help others.

Blessings,
David Yanez

9
peterr
Re: PLEASE - PLEASE Help me to install xcGallery 1RC1
  • 2006/4/5 4:07

  • peterr

  • Just can't stay away

  • Posts: 518

  • Since: 2004/8/5 9


Okay, I've sent you a PM.
NO to the Microsoft Office format as an ISO standard.
Sign the petition

10
peterr
Re: PLEASE - PLEASE Help me to install xcGallery 1RC1
  • 2006/4/7 2:02

  • peterr

  • Just can't stay away

  • Posts: 518

  • Since: 2004/8/5 9


More on this batch upload problem here
NO to the Microsoft Office format as an ISO standard.
Sign the petition

Login

Who's Online

143 user(s) are online (86 user(s) are browsing Support Forums)


Members: 0


Guests: 143


more...

Donat-O-Meter

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

Latest GitHub Commits