Adult Script Pro Community Forums

The forum is here for legacy reasons. No new posts will be created. User registration is disabled! If you have any questions, please email us or check https://www.adultscriptpro.com for more details!

You are not logged in.

#1 2013-02-27 20:12:26

thiva7
Member
Registered: 2011-04-30
Posts: 1,022

ftp photo upload

ftp photo upload  in not add over 59 photos,

this : http://www.mysite.com/photo/247/alyssa-milano/   has 1300 and add only 59

Last edited by thiva7 (2013-07-16 15:56:14)

Offline

#2 2013-02-28 06:20:58

symtab
Administrator
Registered: 2010-08-23
Posts: 7,501
Website

Re: ftp photo upload

please zip that and email it to me, and i will also test.


Adult Scripts: Adult Script Pro - Adult Search Script
Adult Advertising/Traffic: Plug Rush - EXOClick - PopAds

Offline

#3 2013-02-28 06:46:11

symtab
Administrator
Registered: 2010-08-23
Posts: 7,501
Website

Re: ftp photo upload

I have just tested on my box with 3 albums, each containing > 100 photos and it works correctly. Please make sure that you define a valid min width and min height for the photos, because if the archive contains photos with width < min width or height < min height, those photos will be skipped.


Adult Scripts: Adult Script Pro - Adult Search Script
Adult Advertising/Traffic: Plug Rush - EXOClick - PopAds

Offline

#4 2013-02-28 08:18:44

thiva7
Member
Registered: 2011-04-30
Posts: 1,022

Re: ftp photo upload

I uploaded as folder nor zip or rar.... Can be that the problem? I forget that way and I didn't try

Offline

#5 2013-02-28 17:48:29

symtab
Administrator
Registered: 2010-08-23
Posts: 7,501
Website

Re: ftp photo upload

No. I tested both zip and folder on my box.


Adult Scripts: Adult Script Pro - Adult Search Script
Adult Advertising/Traffic: Plug Rush - EXOClick - PopAds

Offline

#6 2013-02-28 22:51:45

thiva7
Member
Registered: 2011-04-30
Posts: 1,022

Re: ftp photo upload

get this www.celebsnudeworld.com/AlyssaMilano.zip

Last edited by thiva7 (2013-08-27 05:02:21)

Offline

#7 2013-03-01 07:13:58

symtab
Administrator
Registered: 2010-08-23
Posts: 7,501
Website

Re: ftp photo upload

I tested this both as archive and folder (you have to change the folder name, because it wont work with ! in the folder name). Edit admin/modules/photo/components/upload_ftp.php and replace:

copy($file['path'], $dst_mobile);

with:

copy($file, $dst_mobile);

This should fix the error and it should work.


Adult Scripts: Adult Script Pro - Adult Search Script
Adult Advertising/Traffic: Plug Rush - EXOClick - PopAds

Offline

#8 2013-03-01 13:05:05

thiva7
Member
Registered: 2011-04-30
Posts: 1,022

Re: ftp photo upload

this is my bad i didnt explain that ...i try without (!) , just i upload folder - zip archive named AlyssaMilano-AlyssaMilano.zip and this get only 59 photos.


its not work for me sad

Last edited by thiva7 (2013-03-01 13:13:31)

Offline

#9 2013-03-01 13:47:25

symtab
Administrator
Registered: 2010-08-23
Posts: 7,501
Website

Re: ftp photo upload

Please enable debug in Admin -> Config and tell me what error you get. For me it works correctly.


Adult Scripts: Adult Script Pro - Adult Search Script
Adult Advertising/Traffic: Plug Rush - EXOClick - PopAds

Offline

#10 2013-03-01 13:52:17

thiva7
Member
Registered: 2011-04-30
Posts: 1,022

Re: ftp photo upload

symtab wrote:

Please enable debug in Admin -> Config and tell me what error you get. For me it works correctly.

for file upload i get this

VException [ 0 ]: VException [ 0 ]: exception 'ErrorException' with message 'imagecreatefromjpeg(): gd-jpeg, libjpeg: recoverable error: Corrupt JPEG data: 3 extraneous bytes before marker 0xd1 ' in /home/celebsnu/public_html/libraries/framework/image/gd.php:73 Stack trace: #0 [internal function]: VError::error_handler(2, 'imagecreatefrom...', '/home/celebsnu/...', 73, Array) #1 /home/celebsnu/public_html/libraries/framework/image/gd.php(73): imagecreatefromjpeg('/home/celebsnu/...') #2 /home/celebsnu/public_html/admin/modules/photo/components/upload_ftp.php(248): VImage_Driver_gd->load('/home/celebsnu/...') #3 /home/celebsnu/public_html/admin/modules/photo/components/upload_ftp.php(166): VComponent_Admin_photo_upload_ftp->process_album('d5d020e6f16835f...', Array, 1, Array, 'public', 1, 1, 250, 150, 'folder') #4 /home/celebsnu/public_html/admin/modules/photo/photo.php(49): VComponent_Admin_photo_upload_ftp->render() #5 /home/celebsnu/public_html/admin/index.php(25): VModule_Admin_photo->render() #6 {main} ~ /home/celebsnu/public_html/admin/modules/photo/photo.php


zip

VException [ 0 ]: VException [ 0 ]: exception 'ErrorException' with message 'array_merge(): Argument #2 is not an array' in /home/celebsnu/public_html/libraries/framework/folder.php:43 Stack trace: #0 [internal function]: VError::error_handler(2, 'array_merge(): ...', '/home/celebsnu/...', 43, Array) #1 /home/celebsnu/public_html/libraries/framework/folder.php(43): array_merge(Array, false) #2 /home/celebsnu/public_html/admin/modules/photo/components/upload_ftp.php(224): VFolder::files('/home/celebsnu/...', true, true, Array) #3 /home/celebsnu/public_html/admin/modules/photo/components/upload_ftp.php(166): VComponent_Admin_photo_upload_ftp->process_album('6bfe613c430bb36...', Array, 1, Array, 'public', 1, 1, 250, 150, 'archive') #4 /home/celebsnu/public_html/admin/modules/photo/photo.php(49): VComponent_Admin_photo_upload_ftp->render() #5 /home/celebsnu/public_html/admin/index.php(25): VModule_Admin_photo->render() #6 {main} ~ /home/celebsnu/public_html/admin/modules/photo/photo.php [ 51 ]

Offline

#11 2013-03-01 14:29:03

symtab
Administrator
Registered: 2010-08-23
Posts: 7,501
Website

Re: ftp photo upload

Hmmm...so for the file upload, the problem is with a bad formated JPEG, but for the zip upload, are there any subfolders in the zip?


Adult Scripts: Adult Script Pro - Adult Search Script
Adult Advertising/Traffic: Plug Rush - EXOClick - PopAds

Offline

#12 2013-03-01 15:43:04

thiva7
Member
Registered: 2011-04-30
Posts: 1,022

Re: ftp photo upload

in zip have file named AlyssaMilano 1300PICS! ....so i have to change it to AlyssaMilano ?

zip file inside file name AlyssaMilano

VException [ 0 ]: VException [ 0 ]: exception 'ErrorException' with message 'imagecreatefromjpeg(): gd-jpeg, libjpeg: recoverable error: Corrupt JPEG data: 3 extraneous bytes before marker 0xd1 ' in /home/celebsnu/public_html/libraries/framework/image/gd.php:73 Stack trace: #0 [internal function]: VError::error_handler(2, 'imagecreatefrom...', '/home/celebsnu/...', 73, Array) #1 /home/celebsnu/public_html/libraries/framework/image/gd.php(73): imagecreatefromjpeg('/home/celebsnu/...') #2 /home/celebsnu/public_html/admin/modules/photo/components/upload_ftp.php(248): VImage_Driver_gd->load('/home/celebsnu/...') #3 /home/celebsnu/public_html/admin/modules/photo/components/upload_ftp.php(166): VComponent_Admin_photo_upload_ftp->process_album('6bfe613c430bb36...', Array, 1, Array, 'public', 1, 1, 250, 150, 'archive') #4 /home/celebsnu/public_html/admin/modules/photo/photo.php(49): VComponent_Admin_photo_upload_ftp->render() #5 /home/celebsnu/public_html/admin/index.php(25): VModule_Admin_photo->render() #6 {main} ~ /home/celebsnu/public_html/admin/modules/photo/photo.php [ 51 ]

Last edited by thiva7 (2013-03-01 16:56:08)

Offline

#13 2013-03-01 17:34:00

symtab
Administrator
Registered: 2010-08-23
Posts: 7,501
Website

Re: ftp photo upload

Yes, you have to rename to alphanumeric characters only!


Adult Scripts: Adult Script Pro - Adult Search Script
Adult Advertising/Traffic: Plug Rush - EXOClick - PopAds

Offline

Board footer

Powered by FluxBB