Welcome to Geeklog, Anonymous Friday, March 29 2024 @ 06:29 am EDT

Geeklog Forums

4images 1.7 and Geeklog 1.3.9 Integration


MateJ

Anonymous
Hello.
Has enyone tried to integrate 4images gallery into Geeklog 1.3.9 ?!
I found this page (instructions) here.
I Would like if it is the same for Geeklog 1.3.9, because I don't want to mess something up.
Tx.
 Quote

Status: offline

Dazzy

Forum User
Full Member
Registered: 07/19/03
Posts: 200
Location:N. Ireland
Get the intergration pack of Portalparts and follow the instructions, I have 4images working fine using that pack with Geeklog 1.39
Dazzy
 Quote

MateJ

Anonymous
Dazzy, I downloaded instruction and followed them, but I'm still having problems running 4images.
I think that my problem is in point #13 in instructions:

13. Migrate your Geeklog User records to 4images
This will migrate all your existing geeklog users to also have a 4images user record.
With the geeklog user program edits described, new users will automatically be added to 4images
a) Move gluser_migrate.php from this archive to the 4images admin/ directory
b) Change the location of lib-common.php to your location and then run gluser_migrate.php from the web
c) Delete all your existing 4images user records or you will get an SQL error complaining of duplicate
Again - Insure you have a good backup
SQL is: Delete from 4images_users;

NOTE: In order to create a 4image admin level user, you will need to update the Admin user record in the 4images_user table.
A 4images admin has a user level of 9 in the 4images_users table

I did a) and b) but I don't know how to do c) and that under NOTE.
When I run gluser_migrate.php I get the following problem:
Adding your Geeklog user: Anonymous to the 4images user table.
An SQL error has occured. Please see error.log for details.

In error.log says:
Sun Apr 25 11:57:51 2004 - 1062: Duplicate entry '1' for key 1. SQL in question: INSERT INTO 4images_users (user_id,user_level,user_name,user_password,user_email,user_showemail,user_allowemails,user_invisible,user_joindate,user_activationkey,user_lastaction,user_location,user_lastvisit,user_comments,user_homepage,user_icq)
VALUES ('1','2','Anonymous','','','1','1','0','2004-01-01 00:00:01','','','','','','','')

How can I solve this???
Please help.
 Quote

Status: offline

Dazzy

Forum User
Full Member
Registered: 07/19/03
Posts: 200
Location:N. Ireland
You'll need to use phmyadmin for those two steps and manually edit the database.

there is an empty command in phpmyadmin which will delete all entries with a table, this is what you must do to delete the 4images users!

select the 4images_users table and click on empty!

To set an admin user. you must first run the migrate script after completeing the step above, then go back into your 4images_users table and select browse, then you must edit the record of the user you want to have admin privledges!

Then change the user_Level value to 9, and then click go, save whatever your version states!
Dazzy
 Quote

MateJ

Anonymous
Thanx Dazzy.

Now it worked without any problems. Mr. Green

Have a really really nice day.
 Quote

Metanoia

Anonymous
confused
I have followed all the steps, however I keep coming up with a blank page now.

http://www.gnosticmystica.com/geeklog/public_html/gallery/
 Quote

Metanoia

Anonymous
cheerful
Fixed... I had to put the path in the sessions.php
 Quote

All times are EDT. The time is now 06:29 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