Advanced search  

News:

CPG Release 1.6.26
Correct PHP8.2 issues with user and language managers.
Additional fixes for PHP 8.2
Correct PHP8 error with SMF 2.0 bridge.
Correct IPTC supplimental category parsing.
Download and info HERE

Pages: [1]   Go Down

Author Topic: 3 Problems with e-cards  (Read 6207 times)

0 Members and 1 Guest are viewing this topic.

courtney.

  • Coppermine newbie
  • Offline Offline
  • Gender: Female
  • Posts: 5
    • Versatile Creations
3 Problems with e-cards
« on: August 25, 2004, 05:13:16 am »

Hello & thanks for coppermine,
I have installed successfully but now I am coming to a few problems with e-cards. First off I am using cpg1.3.2 version.

1. I can send e-cards successfully but once they are sent you go to view them in email and there is no picture showing up. Just an outline of what should be there. I tested this on Gmail & Hotmail both and they do the same.

2. Both links are not working, "If the e-card does not display correctly, click this link" when clicked on, it shows this page: "Not Found
The requested URL /displayecard.php was not found on this server."

and then the second link shows the coppermine main page. Which I had done some searching in this forum & was told that I could hardcode the ecard php to a link and I done that with no success. I would like to target this to the e-cards section instead of coppermine.

3. The date & time at the bottom is wrong as well.

Any help given on this would be greatly appreciated.
Thank You for your time.
« Last Edit: September 04, 2004, 09:29:52 pm by GauGau »
Logged
Treat others as you wish them to treat you.

Joachim Müller

  • Dev Team member
  • Coppermine addict
  • ****
  • Offline Offline
  • Gender: Male
  • Posts: 47843
  • aka "GauGau"
    • gaugau.de
Re: 3 Problems with e-cards
« Reply #1 on: August 25, 2004, 09:56:31 am »

1. I can send e-cards successfully but once they are sent you go to view them in email and there is no picture showing up. Just an outline of what should be there. I tested this on Gmail & Hotmail both and they do the same.
make a right-click, properties on the broken image and post what url it refers to.

2. Both links are not working, "If the e-card does not display correctly, click this link" when clicked on, it shows this page: "Not Found
The requested URL /displayecard.php was not found on this server."
post the url the link points to.

and then the second link shows the coppermine main page. Which I had done some searching in this forum & was told that I could hardcode the ecard php to a link and I done that with no success. I would like to target this to the e-cards section instead of coppermine.
do some more searching, this has been asked (and answered) before (the place to edit to hardcode a link). Post what exactly you have modified.

3. The date & time at the bottom is wrong as well.
sure will be, if your server is in another time zone

Have you made sure to set the "target for ecard" up properly in coppermine config. Post what your setting is.

GauGau
Logged

jamurillo

  • Coppermine novice
  • *
  • Offline Offline
  • Gender: Male
  • Posts: 23
    • J.A. Murillo, photographer
Re: 3 Problems with e-cards
« Reply #2 on: September 04, 2004, 07:11:55 pm »

Hi,

I am having the same 3  problems with E-cards since i update from 1.3.0 to 1.3.2 to days ago.


Notice: Undefined index: email in /home/jamurill/public_html/stock/ecard.php on line 48.

USER:
------------------
Array
(
    [ID] => 63401df9617c4b053c58fb899397d9d3
    [am] => 1
    [liv] => Array
        (
           
  • => 873
  • [1] => 872
                [2] => 612
                [3] => 1033
                [4] => 1019
            )

       
[search] => ###Bocas
    [lang] => english
    [sort] => nd
    [uid] => 1
)

==========================
USER DATA:
------------------
Array
(
    [user_id] => 1
    [user_group] => 1
    [user_active] => YES
    [user_name] => jam
    [user_password] => ********
    [user_lastvisit] => 2004-09-04 08:41:23
    [user_regdate] => 2004-04-23 13:10:12
    [user_group_list] =>
    [user_email] =>
    [user_website] => http://www.jamurillo.com
    [user_location] => Panama
    [user_interests] => Fotografia y Expediciones.
    [user_occupation] => Fotografo
    [user_actkey] =>
    [user_favpics] =>
    [disk_max] => 0
    [disk_min] => 0
    [can_rate_pictures] => 1
    [can_send_ecards] => 1
    [ufc_max] => 3
    [ufc_min] => 3
    [custom_user_upload] => 1
    [num_file_upload] => 10
    [num_URI_upload] => 5
    [can_post_comments] => 1
    [can_upload_pictures] => 1
    [can_create_albums] => 1
    [has_admin_access] => 1
    [pub_upl_need_approval] => 0
    [priv_upl_need_approval] => 0
    [group_name] => Administrators
    [upload_form_config] => 3
    [group_quota] => 0
    [can_see_all_albums] => 1
    [group_id] => 1
    [groups] => Array
        (
            [1] => 1
        )

)

==========================
Queries:
------------------
Array
(
   
  • => SELECT extension, mime, content FROM cpg130_filetypes;
  • [1] => SELECT * FROM cpg130_users WHERE user_id='1'AND user_active = 'YES' AND user_password != '' AND BINARY MD5(user_password) = '54348e7c5ca9b454707b4b8e97c930fd'
        [2] => SELECT MAX(group_quota) as disk_max, MIN(group_quota) as disk_min, MAX(can_rate_pictures) as can_rate_pictures, MAX(can_send_ecards) as can_send_ecards, MAX(upload_form_config) as ufc_max, MIN(upload_form_config) as ufc_min, MAX(custom_user_upload) as custom_user_upload, MAX(num_file_upload) as num_file_upload, MAX(num_URI_upload) as num_URI_upload, MAX(can_post_comments) as can_post_comments, MAX(can_upload_pictures) as can_upload_pictures, MAX(can_create_albums) as can_create_albums, MAX(has_admin_access) as has_admin_access, MIN(pub_upl_need_approval) as pub_upl_need_approval, MIN( priv_upl_need_approval) as  priv_upl_need_approval FROM cpg130_usergroups WHERE group_id in (1)
        [3] => SELECT group_name FROM  cpg130_usergroups WHERE group_id= 1
        [4] => DELETE FROM cpg130_banned WHERE expiry < 1094317676
        [5] => SELECT * FROM cpg130_banned WHERE ip_addr='201.224.108.33' OR ip_addr='201.224.108.33' OR user_id=1
    )

    ==========================
    GET :
    ------------------
    Array
    (
       
[album] => 13
    [pid] => 1019
    [pos] => 6
)

==========================
POST :
------------------
Array
(
    [sender_name] => jam
    [sender_email] => jam@jamurillo.com
    [recipient_name] => jamurillo@hotmail.com
    [recipient_email] => Prueba
    [greetings] => Prueba # 10,000,000,000
    [message] => Just trying to send and Ecard.
 :lol:   :-P  :-D  :-)  :-|  :?:  :!:  :idea:  :roll:  :-x  8-)
)

==========================
VERSION INFO :
------------------
PHP version: 4.3.2 - OK
------------------
mySQL version: 4.0.16
------------------
Coppermine version: 1.3.2
==========================
Module: gd
------------------
GD Support enabled
GD Version bundled (2.0.12 compatible)
FreeType Support enabled
FreeType Linkage with freetype
GIF Read Support enabled
JPG Support enabled
PNG Support enabled
WBMP Support enabled
XBM Support enabled
==========================
Module: mysql
------------------
Active Persistent Links 0
Active Links 1
Client API version 3.23.49
MYSQL_MODULE_TYPE builtin
MYSQL_SOCKET /tmp/mysql.sock
MYSQL_INCLUDE no value
MYSQL_LIBS no value
==========================
Module: zlib
------------------
ZLib Support enabled
Compiled Version 1.1.4
Linked Version 1.1.4
==========================
Server restrictions (safe mode)?
------------------
Directive | Local Value | Master Value
safe_mode | Off | Off
safe_mode_exec_dir | no value | no value
safe_mode_gid | Off | Off
safe_mode_include_dir | no value | no value
safe_mode_exec_dir | no value | no value
sql.safe_mode | Off | Off
disable_functions | no value | no value
file_uploads | On | On
include_path | .:/usr/local/lib/php | .:/usr/local/lib/php
open_basedir | no value | no value
==========================
email
------------------
Directive | Local Value | Master Value
sendmail_from | me@localhost.com | me@localhost.com
sendmail_path | /usr/sbin/sendmail -t -i  | /usr/sbin/sendmail -t -i
SMTP | localhost | localhost
smtp_port | 25 | 25
==========================
Size and Time
------------------
Directive | Local Value | Master Value
max_execution_time | 30 | 30
max_input_time | -1 | -1
upload_max_filesize | 2M | 2M
post_max_size | 8M | 8M
==========================
Page generated in 0.132 seconds - 6 queries in 0.075 seconds - Album set :

Logged

Nibbler

  • Guest
Re: 3 Problems with e-cards
« Reply #3 on: September 04, 2004, 08:07:49 pm »

OK, so post the info requested from the original poster.
Logged

jamurillo

  • Coppermine novice
  • *
  • Offline Offline
  • Gender: Male
  • Posts: 23
    • J.A. Murillo, photographer
Re: 3 Problems with e-cards
« Reply #4 on: September 04, 2004, 08:20:22 pm »

Ok, after send the Ecard i get this:

Notice: Undefined variable: IPTC_data in /home/jamurill/public_html/stock/include/iptc.inc.php on line 49

Notice: Undefined variable: meta_keywords in /home/jamurill/public_html/stock/displayimage.php on line 632

...........
USER:
------------------
Array
(
    [ID] => 63401df9617c4b053c58fb899397d9d3
    [am] => 1
    [liv] => Array
        (
           
  • => 1019
  • [1] => 996
                [2] => 995
                [3] => 993
                [4] => 639
            )

       
[search] => ###Bocas
    [lang] => english
    [sort] => nd
    [uid] => 1
)

==========================
USER DATA:
------------------
Array
(
    [user_id] => 1
    [user_group] => 1
    [user_active] => YES
    [user_name] => jam
    [user_password] => ********
    [user_lastvisit] => 2004-09-04 11:11:31
    [user_regdate] => 2004-04-23 13:10:12
    [user_group_list] =>
    [user_email] =>
    [user_website] => http://www.jamurillo.com
    [user_location] => Panama
    [user_interests] => Fotografia y Expediciones.
    [user_occupation] => Fotografo
    [user_actkey] =>
    [user_favpics] =>
    [disk_max] => 0
    [disk_min] => 0
    [can_rate_pictures] => 1
    [can_send_ecards] => 1
    [ufc_max] => 3
    [ufc_min] => 3
    [custom_user_upload] => 1
    [num_file_upload] => 10
    [num_URI_upload] => 5
    [can_post_comments] => 1
    [can_upload_pictures] => 1
    [can_create_albums] => 1
    [has_admin_access] => 1
    [pub_upl_need_approval] => 0
    [priv_upl_need_approval] => 0
    [group_name] => Administrators
    [upload_form_config] => 3
    [group_quota] => 0
    [can_see_all_albums] => 1
    [group_id] => 1
    [groups] => Array
        (
            [1] => 1
        )

)

==========================
Queries:
------------------
Array
(
   
  • => SELECT extension, mime, content FROM cpg130_filetypes;
  • [1] => SELECT * FROM cpg130_users WHERE user_id='1'AND user_active = 'YES' AND user_password != '' AND BINARY MD5(user_password) = '54348e7c5ca9b454707b4b8e97c930fd'
        [2] => SELECT MAX(group_quota) as disk_max, MIN(group_quota) as disk_min, MAX(can_rate_pictures) as can_rate_pictures, MAX(can_send_ecards) as can_send_ecards, MAX(upload_form_config) as ufc_max, MIN(upload_form_config) as ufc_min, MAX(custom_user_upload) as custom_user_upload, MAX(num_file_upload) as num_file_upload, MAX(num_URI_upload) as num_URI_upload, MAX(can_post_comments) as can_post_comments, MAX(can_upload_pictures) as can_upload_pictures, MAX(can_create_albums) as can_create_albums, MAX(has_admin_access) as has_admin_access, MIN(pub_upl_need_approval) as pub_upl_need_approval, MIN( priv_upl_need_approval) as  priv_upl_need_approval FROM cpg130_usergroups WHERE group_id in (1)
        [3] => SELECT group_name FROM  cpg130_usergroups WHERE group_id= 1
        [4] => DELETE FROM cpg130_banned WHERE expiry < 1094321695
        [5] => SELECT * FROM cpg130_banned WHERE ip_addr='201.224.108.33' OR ip_addr='201.224.108.33' OR user_id=1
        [6] => SELECT title,keyword from cpg130_albums WHERE aid='11'
        [7] => SELECT COUNT(*) from cpg130_pictures WHERE aid='11'   
        [8] => SELECT * from cpg130_pictures WHERE aid='11'    ORDER BY filename DESC  LIMIT 4 ,1
        [9] => SELECT title, comments, votes, category, aid FROM cpg130_albums WHERE aid='11' LIMIT 1
        [10] => SELECT msg_id, msg_author, msg_body, UNIX_TIMESTAMP(msg_date) AS msg_date, author_id, author_md5_id, msg_raw_ip, msg_hdr_ip FROM cpg130_comments WHERE pid='639' ORDER BY msg_id ASC
        [11] => SELECT title,keyword from cpg130_albums WHERE aid='11'
        [12] => SELECT COUNT(*) from cpg130_pictures WHERE aid='11'   
        [13] => SELECT pid, filepath, filename, url_prefix, filesize, pwidth, pheight, ctime, aid, title, caption,hits,owner_id,owner_name from cpg130_pictures WHERE aid='11'    ORDER BY filename DESC  LIMIT 0 ,10
    )

    ==========================
    GET :
    ------------------
    Array
    (
       
[album] => 11
    [pos] => 4
)

==========================
POST :
------------------
Array
(
)

==========================
VERSION INFO :
------------------
PHP version: 4.3.2 - OK
------------------
mySQL version: 4.0.16
------------------
Coppermine version: 1.3.2
==========================
Module: gd
------------------
GD Support enabled
GD Version bundled (2.0.12 compatible)
FreeType Support enabled
FreeType Linkage with freetype
GIF Read Support enabled
JPG Support enabled
PNG Support enabled
WBMP Support enabled
XBM Support enabled
==========================
Module: mysql
------------------
Active Persistent Links 0
Active Links 1
Client API version 3.23.49
MYSQL_MODULE_TYPE builtin
MYSQL_SOCKET /tmp/mysql.sock
MYSQL_INCLUDE no value
MYSQL_LIBS no value
==========================
Module: zlib
------------------
ZLib Support enabled
Compiled Version 1.1.4
Linked Version 1.1.4
==========================
Server restrictions (safe mode)?
------------------
Directive | Local Value | Master Value
safe_mode | Off | Off
safe_mode_exec_dir | no value | no value
safe_mode_gid | Off | Off
safe_mode_include_dir | no value | no value
safe_mode_exec_dir | no value | no value
sql.safe_mode | Off | Off
disable_functions | no value | no value
file_uploads | On | On
include_path | .:/usr/local/lib/php | .:/usr/local/lib/php
open_basedir | no value | no value
==========================
email
------------------
Directive | Local Value | Master Value
sendmail_from | me@localhost.com | me@localhost.com
sendmail_path | /usr/sbin/sendmail -t -i  | /usr/sbin/sendmail -t -i
SMTP | localhost | localhost
smtp_port | 25 | 25
==========================
Size and Time
------------------
Directive | Local Value | Master Value
max_execution_time | 30 | 30
max_input_time | -1 | -1
upload_max_filesize | 2M | 2M
post_max_size | 8M | 8M
==========================
Page generated in 0.101 seconds - 14 queries in 0.032 seconds - Album set :

.............................

Thanks for your help.
CPG is great !
Logged

Nibbler

  • Guest
Re: 3 Problems with e-cards
« Reply #5 on: September 04, 2004, 08:47:48 pm »

Your target address for ecard link in config is wrong, it has to be http://www.jamurillo.com/stock/ for coppermine to work properly. You can hard code the link people click on for more pics in ecard.php if you look in this board for the post.
Logged

jamurillo

  • Coppermine novice
  • *
  • Offline Offline
  • Gender: Male
  • Posts: 23
    • J.A. Murillo, photographer
Re: 3 Problems with e-cards
« Reply #6 on: September 04, 2004, 09:07:42 pm »

Thanks Nibbler !

I use to have it like this in cpg 1.3.0 and that work, but never mind......

Now is working great !

Thanks a lot.



Logged
Pages: [1]   Go Up
 

Page created in 0.033 seconds with 19 queries.