Move to new host , using select local server path problem batch upload

moofaster

Joined: 2012-05-05
Posts: 3
Posted: Sat, 2012-05-05 04:47

Hey Guys

moved to new host transferred fine . Problem i have , is i upload the files to local server in a batch, i select it to up load though gallery choose local path select files, it sees them click and process says complete , creates album but there no thumb nail or image only a broken picture

i can add images though the upload applet and it creates images no problem.

Any idea

Gallery version 2.3.2
PHP version 5.3.8
Webserver Apache 2.2.22
Database MySql 5.0.92
Activated toolkits imagemagic, GD
Operating system Centos 5.8 on cpanel control panel

 
Dayo

Joined: 2005-11-04
Posts: 1642
Posted: Sat, 2012-05-05 05:07

You are only to add, remove and edit items through the G2 interface and the upload applet is part of the G2 interface which is why it works.

Think about it, why would the developers write several thousand lines of code to do these things if simply uploading items directly to the file system using ftp etc could do the job?

One way to recover from your position is to:
1. Delete the items you added using the upload applet if they are a few and you only just tested this. Make sure you delete from within G2!
2. Copy the items you uploaded to another folder on your server
3. Delete the copies you previously uploaded to your g2data.
4. Use the server add feature to import the items into G2. Look in G2 adding under "import" for "Web/Server". You add the folder path and import.

Good luck!

--
dakanji.com

 
moofaster

Joined: 2012-05-05
Posts: 3
Posted: Sat, 2012-05-05 05:37

Hi Dayo

Thanks for reply i am new at this , i am using the 4 option where i upload the files though ftp to the path i use the G2 add image i select from local server path go though the steps click to apply says its done but no images.

Attached is where i am importing from and as you can see the folders and files are there

 
Dayo

Joined: 2005-11-04
Posts: 1642
Posted: Sat, 2012-05-05 05:54

The images should not be in g2data to start with. See my Points 2 & 3 above.

The g2data folder should be empty and items in there should only be added through the G2 interface.

If you manually added items there, then remove/move them to another folder.
Then use the interface to import them into G2 which will put them into g2data.

Basically, you should generally never manually add, remove or edit items in your g2data folder (except in this case of course where you added them there in the first place).

To be honest, I'll almost be tempted to start the process all over since things are likely to be messed up already.

--
dakanji.com

 
moofaster

Joined: 2012-05-05
Posts: 3
Posted: Sat, 2012-05-05 08:09

Hey Dayo

Big thanks all going