4images Forum & Community

4images Issues / Ausgaben => Installation, Update & Configuration => Topic started by: jeyjoo on December 07, 2011, 10:56:40 PM

Title: Duplicate image gallery
Post by: jeyjoo on December 07, 2011, 10:56:40 PM
Hi,

I am on version 1.7.6. I am also high
My image gallery is http://www.jeyjoo.com/gallery/ (http://www.jeyjoo.com/gallery/)

I would like to duplicating my own gallery and adapting it on a seperate website for a client.
Is this as simple as copy paste and delete images and thumsb or am I missing something?
In particular has anyone done this already?

Help appreciated,
Title: Re: Duplicate image gallery
Post by: V@no on December 08, 2011, 03:02:52 AM
In theory should be pretty simple: copy all files (exclude data directory) and using phpmyadmin backup database structure (settings table you probably want make full backup), and finally add two users with this database query (again via phpmyadmin)
Code: [Select]
INSERT INTO 4images_users VALUES (-1, -1, 'Guest', '0493984f537120be0b8d96bc9b69cdd2', '', 0, 0, 0, 0, '', 0, '', 0, 0, '', '');
INSERT INTO 4images_users VALUES (1, 9, 'admin', '21232f297a57a5a743894a0e4a801fc3', 'admin@yourdomain.com', 1, 1, 0, 1016023608, '1e3457c0b2052a9633b886fd75ef91e0', 1016023608, '', 0, 0, '', '');

login with username/pass: admin/admin
Title: Re: Duplicate image gallery
Post by: jeyjoo on December 16, 2011, 02:54:30 PM
"In theory" aaaaahhhh - that bit is scary. Like the rest.
I am giving this a go right now.

Just to check I understand:

Much appreciated
Title: Re: Duplicate image gallery
Post by: V@no on December 16, 2011, 08:07:29 PM
  • Settings table you probably want make full backup - what exactly do you mean by this - I cant find phpmyadmin?
in phpmyadmin when you open your database it will list you all the tables in that database. Click on settings table, from there you can use export feature, where you should select both structure and data (I don't have access to phpmyadmin interface right now, so can't tell exactly where and what it called)

  • Add two users with this database query - Where do I add the query?
I believe there is a link on top menu of phpmyadmin interface called "run" "SQL" or something similar. It will allow you execute any mysql commands. Just paste the queries in that field and run it. Mind you, this must be done on the "new" database where you going to copy everything, not database you are making copy of.
Title: Re: Duplicate image gallery
Post by: jeyjoo on December 19, 2011, 10:06:58 AM
I am still not following here. I am on version 1.7.6.

Should I be in User Gallery control pannel or my computers file manager?
I cannot find anything called phpmyadmin.

Thanks again
Title: Re: Duplicate image gallery
Post by: Rembrandt on December 19, 2011, 10:55:23 AM
...Should I be in User Gallery control pannel or my computers file manager?
I cannot find anything called phpmyadmin.
...
phpmyadmin is a GUI for your Database.
Login in your Database and you can see it.

mfg And
Title: Re: Duplicate image gallery
Post by: jeyjoo on December 19, 2011, 09:25:20 PM
I assume I am missing something obious here... or just on an older version.
Where do I log into my database? I use the 4images control panel, and cannot find a phpmyadmin option.
Title: Re: Duplicate image gallery
Post by: Rembrandt on December 19, 2011, 09:30:49 PM
i think the best way for you is ask your ISP how do you login to your database server.
Title: Re: Duplicate image gallery
Post by: mawenzi on December 20, 2011, 02:01:00 AM
@jeyjoo

... "phpmyadmin" is a control panel for your database ...
... and the database control panel has nothing to do with 4images ...
... it comes with the database form your host ...
... so there is sure a link to your "phpmyadmin" in your host control panel ...
...
... maybe a link from this type can help you : http : // phpmyadmin . <your_website_name> . com (directly, without your hcp) ...
Title: Re: Duplicate image gallery
Post by: jeyjoo on December 20, 2011, 02:35:22 PM
Ok thanks for that.