11
ninja
Re: my album -p image upload problem
  • 2003/12/4 22:58

  • ninja

  • Just popping in

  • Posts: 70

  • Since: 2003/5/27


yes look like a chmod problem, but i checked the thumbs dir. and it was correct.
photos are uploaded in the photos dir. just fine, but the script couldn't create thumbnails for the photos

so it looks like chmod problem but it's not ?

12
CBlue
Re: my album -p image upload problem

If no one can help you solve this problem, I suggest using another photo gallery module. I've been using xoopsgallery for a long time now and have had no problems with it whatsoever.

You can view my gallery and see that it works just fine.

http://www.crazy4realitytv.com/modules/xoopsgallery/

13
GIJOE
Re: my album -p image upload problem
  • 2003/12/5 0:55

  • GIJOE

  • Quite a regular

  • Posts: 265

  • Since: 2003/8/13


Though I didnot read all of this thread,
it sounds like the problem of GD.

At first remove all of modules/myalbum/
and re-upload the latest version of myAlbum-P.
Don't forget updating this module in module administrator of system admin.

If your trouble continues, show the result of 'check configs & environments' in myAlbum-P's admin.

14
DonXoop
Re: my album -p image upload problem

Ironicaly you seem to have a problem now on your site. I tried to view some pics and I get "ERROR: requested index [-1] out of bounds [7]".

15
arbaronx
Re: my album -p image upload problem
  • 2003/12/15 23:15

  • arbaronx

  • Just popping in

  • Posts: 41

  • Since: 2003/12/8


CBlue,

Am I correct in assuming xoops-gallery doesnt allow for users/members to upload pics?

Could I run 2 instances of MyAlbum, one for anons and one for members?

../xoops/modules/myalbum_1/
../xoops/modules/myalbum_2/

or would there be too much conflict???

cheers

16
GIJOE
Re: my album -p image upload problem
  • 2003/12/16 21:45

  • GIJOE

  • Quite a regular

  • Posts: 265

  • Since: 2003/8/13


I've experienced same request.

This is how to duplicate myAlbum-P on modules/myalbum/ into myAlbum-P on modules/myalbum2/

1) copyall myalbum to myalbum2

2) modules/myalbum2/include/read_configs.php
// get my mid
        
$rs $xoopsDB->query"SELECT mid FROM ".$xoopsDB->prefix('modules')." WHERE dirname='myalbum[color=ff0000]2[/color]'" ) ;

$table_photos $xoopsDB->prefix"myalbum[color=ff0000]2[/color]_photos" ) ;
    
$table_cat $xoopsDB->prefix"myalbum[color=ff0000]2[/color]_cat" ) ;
    
$table_text $xoopsDB->prefix"myalbum[color=ff0000]2[/color]_text" ) ;
    
$table_votedata $xoopsDB->prefix"myalbum[color=ff0000]2[/color]_votedata" ) ;
    
$table_comments $xoopsDB->prefix"xoopscomments" ) ;


3) modules/myalbum2/xoops_version.php
$modversion['dirname'] = "myalbum[color=ff0000]2[/color]";

// Tables created by sql file (without prefix!)
$modversion['tables'][0] = "myalbum[color=ff0000]2[/color]_cat";
$modversion['tables'][1] = "myalbum[color=ff0000]2[/color]_photos";
$modversion['tables'][2] = "myalbum[color=ff0000]2[/color]_text";
$modversion['tables'][3] = "myalbum[color=ff0000]2[/color]_votedata";


4) modules/myalbum2/sql/mysql.sql
the table names of "myalbum_*" into "myalbum2_*"

5) all of files under modules/myalbum2/
change "/myalbum" to "/myalbum2"
change "ALBM" to "ALBM2"

6) Install it

Don't forget these operations are case sensitive.

Login

Who's Online

211 user(s) are online (107 user(s) are browsing Support Forums)


Members: 0


Guests: 211


more...

Donat-O-Meter

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

Latest GitHub Commits