G2 d/l

waffull
waffull's picture

Joined: 2002-09-07
Posts: 115
Posted: Sat, 2002-09-21 19:10

Is there a place where G2 can be downloaded? I would like to play around with it.

Thank you,
Marc

 
uncle

Joined: 2002-08-15
Posts: 18
Posted: Sat, 2002-09-21 19:33

It's at the sourceforge CVS server. If you are on a 'nix box type:

<!-- BBCode Start --><TABLE BORDER=0 ALIGN=CENTER WIDTH=85%><TR><TD><font class="pn-sub">Code:</font><HR></TD></TR><TR><TD><FONT class="pn-sub"><PRE>cvs -z3 -d:pserver:anonymous@cvs.Gallery.sourceforge.net:/cvsroot/gallery co gallery2 </TD></TR></TABLE><!-- BBCode End -->

and this will dump the current code in your current directory tree location in the gallery2 folder.

If you have any luck getting it to work post your success here. I can create the database but it will not load the main.php for me right now. Hey what can I expect this is pre alpha.

 
waffull
waffull's picture

Joined: 2002-09-07
Posts: 115
Posted: Sat, 2002-09-21 21:24

I'm on a Win2k box and have used GNU's WinCVS 1.2 (which I use to update my 1.3.2 versions to the newest beta's without a problem.)

But, when I use it for gallery2, and run ..gallery2setupsetup.php I get this error:
Fatal error: Call to a member function on a non-object in f:apachehtdocsgallery2setupsetup.php on line 246

If I run ..gallery2mail.php I get this error:
Fatal error: Failed opening required 'f:apachehtdocsgallery2/config.php' (include_path='.;c:php4pear') in f:apachehtdocsgallery2init.php on line 61
[Note: there is no config.php file, only the ..gallery2setupconfig.php-dist

Any advice would be appreciated. I have tried renaming and moving the config.php to ..gallery2 since that seems to be where main.php expects it to be, but that just created numerous other errors.

Thanks for your help.

Marc
http://waffull.com:9700/gallery

 
bharat
bharat's picture

Joined: 2002-05-21
Posts: 7994
Posted: Tue, 2002-09-24 09:12

You need to copy config.php-dist over to config.php.

Read these two emails for instructions:
http://marc.theaimsgroup.com/?l=gallery-devel&amp;m=103207840613516&amp;w=2
http://marc.theaimsgroup.com/?l=gallery-devel&amp;m=103208103714505&amp;w=2

-Bharat

 
waffull
waffull's picture

Joined: 2002-09-07
Posts: 115
Posted: Fri, 2002-10-04 18:42

Hello,
I have tried a # of times to get this to work, but am still at the same place. I d/l the newest CVS today.

I performed the following: (except using gallery2 as the dir name)
3. Copy setup/config.php-dist to gallery/config.php and edit it.
There are instructions in the file. It should be pretty self
explanatory. I recommend setting your debug mode to 'buffered'
so that you can see what's happening.

But, when I open ..gallery2setupsetup.php I still get this error:
Fatal error: Call to a member function on a non-object in f:apachehtdocsgallery2setupsetup.php on line 246

Any help would be appreciated.

Marc

 
waffull
waffull's picture

Joined: 2002-09-07
Posts: 115
Posted: Wed, 2002-10-09 15:14

I d/l the newest CVS version and am still getting the same error, but now it is on line 247 (so a line of code must have been added.)

Anyone have any ideas?

Thanks,
Marc

 
bharat
bharat's picture

Joined: 2002-05-21
Posts: 7994
Posted: Thu, 2002-10-10 00:43

Hmm. Comment out line 247, which should be this:

$message['debug'] = $gallery->getDebugBuffer();

and let me know what error message you get at that point.

 
waffull
waffull's picture

Joined: 2002-09-07
Posts: 115
Posted: Tue, 2002-10-29 20:01
Quote:
Hmm. Comment out line 247, which should be this:

$message['debug'] = $gallery->getDebugBuffer();

and let me know what error message you get at that point.

Now I get:
Gallery depends on the __FILE__ directive to function properly. Your verson of PHP does not support this directive properly. Please upgrade to a newer version of PHP.
For reference, on your system the file directive returns:
f:apachehtdocsgallery2setupmessagesbrokenFile.php (this should be a complete path to this file).

When you think you have resolved this problem, you can click this button to try again:

I'm running PHP version: 4.2.4-dev

Thanks for your help.
Marc

 
waffull
waffull's picture

Joined: 2002-09-07
Posts: 115
Posted: Tue, 2002-10-29 20:03

How do I delete a post I already made. There doesn't seem to be a delete button here.
Thanks,
Marc

 
mhaldima

Joined: 2002-09-08
Posts: 11
Posted: Wed, 2002-10-30 22:15

I had the same problem, it seems to be related to Windows using instead of / to separate directories in paths.
I'd propose you to play around with Unix-developped pre-releases like Gallery2 on a Linux box, things work a lot better there...

 
bharat
bharat's picture

Joined: 2002-05-21
Posts: 7994
Posted: Thu, 2002-10-31 18:25
Quote:
How do I delete a post I already made. There doesn't seem to be a delete button here.
Thanks,
Marc

There's no delete :smile: I'm not sure if this forum software allows that (but I'll check into it).

 
bharat
bharat's picture

Joined: 2002-05-21
Posts: 7994
Posted: Thu, 2002-10-31 18:32
Quote:
I had the same problem, it seems to be related to Windows using instead of / to separate directories in paths.
I'd propose you to play around with Unix-developped pre-releases like Gallery2 on a Linux box, things work a lot better there...

Yep, looks like I had a bug in there. I just committed a change to setup.php that should fix this. Let me know if it doesn't.