1
damon
uploading photos error with myalbum-p
  • 2004/1/16 22:06

  • damon

  • Just popping in

  • Posts: 11

  • Since: 2004/1/15


I get 'No photo updated or photo too big' error when uploading a photo with myalbum-p. I got similar errors with myalbum and xcGallery. I usually ftp with securefx using sftp and I am assuming the upload is not secure. I thought my isp might restrict non-secure uploads, but it tested ok with cuteftp so that doesn't seem to be it. The XOOPS uploads/photos is owned by apache for some reason and I can't chmod or chown it. I created XOOPS uploads/myphotos and uploads/myphotos/thumbs, made them 777 and updated preferences to show those folders. I still get the same error. Any ideas?

Thanks,
Damon

2
GIJOE
Re: uploading photos error with myalbum-p
  • 2004/1/20 4:16

  • GIJOE

  • Quite a regular

  • Posts: 265

  • Since: 2003/8/13


hi damon.
Show the result of "check configs" in myAlbum-P's admin.

Even if your environment doesn't allow any uploading,
you may use "batch register" in myAlbum-P's admin.

3
damon
Config Check
  • 2004/1/21 15:40

  • damon

  • Just popping in

  • Posts: 11

  • Since: 2004/1/15


Config Check
Pipe for images: GD
Check 'GD2' work correctly under your GD bundled with PHP
If the page linked from here don't display correctly, you should give up working your GD as truecolor mode.

Directory for Photos: /home/virtual/site12/fst/var/www/html/uploads/myphotos ok


When I click on 'GD2':

Warning: imagecreatetruecolor(): requires GD 2.0 or later in /home/virtual/site12/fst/var/www/html/modules/myalbum/admin/checkgd2.php on line 10

I haven't a clue what that means!


I tried batch register as well. I believe I ran into a path recognition issue. I will test again and post results a little later today.

thanks,
damon


4
tom
Re: Config Check
  • 2004/1/21 18:10

  • tom

  • Friend of XOOPS

  • Posts: 1359

  • Since: 2002/9/21


GD 1.6 Vs GD2, I've hit the same problem, your host probably only has GD1.6 where as Myalbum requires version 2+.

I've been searching the forums as I know there was a hack for the old Myalbum by Dan (Orig Creator), which allowed you to use the GD1.

Can any one shed any light on this and how which files need to be altered to revert to prev versions of GD

Thanks in advance for any help.

gd 1.62 thread on PEAK

5
tom
Re: uploading photos error with myalbum-p
  • 2004/1/21 19:59

  • tom

  • Friend of XOOPS

  • Posts: 1359

  • Since: 2002/9/21


GIJOE,

Is there any chance of making your version of my album with GD1 support aswell?

6
GIJOE
Re: Config Check
  • 2004/1/21 21:22

  • GIJOE

  • Quite a regular

  • Posts: 265

  • Since: 2003/8/13


hi tom.

1st of all, I have to say that myAlbum-P is irrelevant Daniel's myAlbum.
If you suspect me, make diff with two.

Though the codes origined from myLinks exist in myAlbum-P,
the codes origined from myAlbum does not exist.

Quote:

GD 1.6 Vs GD2, I've hit the same problem, your host probably only has GD1.6 where as Myalbum requires version 2+.

myAlbum-P works both GD1 & GD2 fine.
Of course, GD1 can't make thumbnails by 32bit color, so that the thumnails are not good.

Quote:

Can any one shed any light on this and how which files need to be altered to revert to prev versions of GD

Thanks in advance for any help.

gd 1.62 thread on PEAK

Did you read the thread carefully?
This thread doesn't means myAlbum-P don't work with GD1.6, but means that myAlbum-P skips creating GIF's thumnails even if GD is 1.6.
Because almost photos are JPEG, this is not important.

7
GIJOE
Re: Config Check
  • 2004/1/21 21:31

  • GIJOE

  • Quite a regular

  • Posts: 265

  • Since: 2003/8/13


Quote:

damon wrote:
Config Check
Pipe for images: GD
Check 'GD2' work correctly under your GD bundled with PHP
If the page linked from here don't display correctly, you should give up working your GD as truecolor mode.

Directory for Photos: /home/virtual/site12/fst/var/www/html/uploads/myphotos ok


When I click on 'GD2':

Warning: imagecreatetruecolor(): requires GD 2.0 or later in /home/virtual/site12/fst/var/www/html/modules/myalbum/admin/checkgd2.php on line 10

I haven't a clue what that means!

The result only means your hosting doesn't support GD2.
You can make thumnails with GD1.
Don't check "force GD2" in preferences.

Did you want to know the reason why photos don't upload correctly?
If so, show the result of "Config Check" entirely.

Quote:

I tried batch register as well. I believe I ran into a path recognition issue. I will test again and post results a little later today.

Probably you misunderstood the meaning of path.
Seehttps://xoops.org/modules/newbb/viewtopic.php?topic_id=11902&forum=4#47553

8
tom
Re: Config Check
  • 2004/1/22 0:18

  • tom

  • Friend of XOOPS

  • Posts: 1359

  • Since: 2002/9/21


Gee sorry for the missunderstanding.

OK what causes the '644DB error: UPDATE photo table' problem, as my prev version of Myalbum worked fine.

I've:

+ updated Tables.
+ Updated the whole mod.
+ Chmod settings are correct.

Any help is much appreciated.

9
damon
Re: GD2 & Config Check
  • 2004/1/22 15:47

  • damon

  • Just popping in

  • Posts: 11

  • Since: 2004/1/15


Force GD2 already set to No.

----------
As reqested, I sent "Config Check" Here is " - Check Configs&Environments"

myAlbum-P checker
Environment Check
PHP directive 'safe_mode' (both ok): off
PHP directive 'file_uploads' (need on): on
PHP directive 'register_globals' (both ok): on
PHP directive 'upload_max_filesize': 2048M byte
PHP directive 'post_max_size': 64M byte
PHP directive 'open_basedir': /tmp/:/usr/share/pear/:/home/virtual/site12/fst/:/home/virtual/damonkimble.com/:/home/virtual/admin12/
PHP directive 'upload_tmp_dir': ok
Table Check
Photos table: xoops_myalbum_photos ok
Number of Photos: 0

Descriptions table: xoops_myalbum_text ok
Number of Descriptions: 0

Categories table: xoops_myalbum_cat ok
Number of Categories: 1

Votedata table: xoops_myalbum_votedata ok
Number of Votedata: 0

Comments table: xoops_xoopscomments ok
Number of Comments: 0

Config Check
Pipe for images: GD
Check 'GD2' work correctly under your GD bundled with PHP
If the page linked from here don't display correctly, you should give up working your GD as truecolor mode.

Directory for Photos: /home/virtual/site12/fst/var/www/html/uploads/myphotos ok

Photos & Thumbs Link Check
Now, checking .ok




10
damon
Re: Batch
  • 2004/1/22 15:53

  • damon

  • Just popping in

  • Posts: 11

  • Since: 2004/1/15


I was using /var/www/html/... rahter than /home/virtual/site12/fst/var/www/html/tmp.

Works ok now.

Any thoughts of changing code to allow the filename to be added to the path so that individual images already on server can be added, with their own title and description? This would be easier than uploading a bunch and then going back and editing each one. I haven't spent a ton of time looking at the functionality, so it may be there already, in another place.

thanks,
damon

Login

Who's Online

126 user(s) are online (83 user(s) are browsing Support Forums)


Members: 0


Guests: 126


more...

Donat-O-Meter

Stats
Goal: $100.00
Due Date: May 31
Gross Amount: $0.00
Net Balance: $0.00
Left to go: $100.00
Make donations with PayPal!

Latest GitHub Commits