Welcome to Geeklog, Anonymous Saturday, December 21 2024 @ 08:43 am EST

Geeklog Forums

Gallery 1.3 Geeklog 1.3.5 error


Status: offline

roblinrey

Forum User
Junior
Registered: 05/18/02
Posts: 15
I had gallery 1.3 working fine. I followed the directions to wrap it in geeklog 1.3.5. Now I get this error When I access gallery. Fatal error: Class geeklog_user: Cannot inherit from undefined class abstract_user in /home/www/randsfamily/gallery/classes/User.php on line 38. I have looked and can find no similar problem posted. Can anyone help?
 Quote

Status: offline

efarmboy

Forum User
Moderator
Registered: 02/26/02
Posts: 147
1) Can you confirm if you are using the final (May 28th) release of Gallery 1.3 or one of the previous 1.3RC releases? 2) The class Abstract_User should be known as its a base class that is loaded by init.php (about line 87). I'm assuming you were using the updated intergration notes that I put together - can you confirm. 3) Can you give me any other information - as to what you see, what you don't .. Do you get any of Gallery now to run. Is it just when you login etc... Blaine
 Quote

Status: offline

roblinrey

Forum User
Junior
Registered: 05/18/02
Posts: 15
1) Can you confirm if you are using the final (May 28th) release of Gallery 1.3 or one of the previous 1.3RC releases? >>>>I am using Gallery 1.3 Downloaded May 30, 2002 >2) The class Abstract_User should be known as its a base class that is loaded by init.php (about line 87). I'm assuming you were using the updated intergration notes that I put together - can you confirm. >>>I downloaded your zip file. The date on the Readme is May 8, 2002. Is this the latest? 3) Can you give me any other information - as to what you see, what you don't .. Do you get any of Gallery now to run. Is it just when you login etc... >>>. The only thing that displays is a blank page with the error message. This occurs when I login (to geeklog)as admin, myself or do not login then attempt to access gallery.
 Quote

Status: offline

efarmboy

Forum User
Moderator
Registered: 02/26/02
Posts: 147
I just finished doing a clean install of Geeklog version 1.3.5 and Gallery v1.3 Final release. Tested each install and then proceeded to integrate using my instructions.

Everything worked fine... Except: I noticed my download was missing the User.php file that needs to be copied to gallery/classes/geeklog directory.

It is described in the directions, this file is to be in the download and needs to be there - nobody has noted this to me.

I have reduced the number of edits required to set the path to your geeklog install directory. I created a GEEKLOG_DIR variable that you would create in the gallery/config.php file - Step 1 of the integration directions. This has reduced the steps and modifcations to the included files.

I have also updated the directions to reflect this. I believe this integration is now very straight forward.

Note: My test install is located here .
You can also login in as user "test1" password is "password" - admin and other accounts are locked down.
You can get the updated download from my site here - Downloads block on the right side.

Blaine

 Quote

Status: offline

roblinrey

Forum User
Junior
Registered: 05/18/02
Posts: 15
Having problems with the gallery 1.3 with geeklog 1.3.5 intergration. I did a clean install of gallery because I remembered an error I was encountering before I tried to intergrate. Maybe this has something to do with my intergration problem. Gallery is working fine with one exception. Once I login to geeklog I can not login to gallery unless I delete cookies. I contacted the folks at gallery and all I got was that it was a "known issue". They suggested I contact someone at geeklog for a fix. Any ideas?
 Quote

Status: offline

efarmboy

Forum User
Moderator
Registered: 02/26/02
Posts: 147
I've seen this as well but haven't tried tracking down the cause. I've even defined a unique directory for the session cookies with unique cookie names - still occurs. Since, I only need it integrated with GL, this is not really a problem I need to live with. Are you still not able to be successful following the lastest set of instructions and files? Blaine
 Quote

Anonymous

Anonymous
I thought I needed to solve this problem first. Since that doesn't seem to be the case I will try the intergration again. Let you know how it goes. Rob
 Quote

Status: offline

roblinrey

Forum User
Junior
Registered: 05/18/02
Posts: 15
I attempted to intergrate. I placed the new code in /gallery/config.php. I used the supplied new /gallery/init.php. The supplied wrapper.header and .footer had the new code already in them. I loaded the supplied /gallery/classes/geeklog/user.php and userdb.php. When I access the gallery directory I get this error. Fatal error: Cannot instantiate non-existent class: loggedinuser in /home/www/randsfamily/gallery/classes/geeklog/UserDB.php on line 38 At least I know the script is looking for and finding the right path to userbd.php. This is a little different from the first error I was getting. Any ideas?
 Quote

Status: offline

efarmboy

Forum User
Moderator
Registered: 02/26/02
Posts: 147
I don't know - this should work. Compare your files as well to my comments and sample code to be changed in the README notes. Just in case there is a something different with the files you replaced. The class LoggedInUser is a valid class and should be included from init.php - check that the REQUIRE stmt is there - about line 90. Verify permissions and ownership rights on all your files and directories. The file LoggedInUser.php is located in the classes directory. What happens with different users (non-admin) and anonymous users? Blaine
 Quote

Status: offline

roblinrey

Forum User
Junior
Registered: 05/18/02
Posts: 15
Wow you won't believe this. The REQUIRE stmt was not there. That was the whole problem. Once I inserted that statement everything is working beautifully. Now I will try the PHP Block. Thanks loads for all the help and for putting up with my ignorance.
 Quote

Status: offline

efarmboy

Forum User
Moderator
Registered: 02/26/02
Posts: 147
That's great .. and I must have missed that when creating the upload archive. I have updated the archive and made a note in the readme if someone is manually editing the gallery/init.php file. Thanks for not yelling at me Wink Blaine
 Quote

All times are EST. The time is now 08:43 am.

  • Normal Topic
  • Sticky Topic
  • Locked Topic
  • New Post
  • Sticky Topic W/ New Post
  • Locked Topic W/ New Post
  •  View Anonymous Posts
  •  Able to post
  •  Filtered HTML Allowed
  •  Censored Content