11
rasme
Re: For who need myalbum send e-card
  • 2007/5/22 21:05

  • rasme

  • Just popping in

  • Posts: 39

  • Since: 2005/5/9 6


open postal.php
find
$photo myalbum_get_array_for_photo_assign$p ) ;

replace with
$photo myalbum_get_array_for_photo_assign_light$p ) ;


and remove line 200.

open preview.php
find
$photo myalbum_get_array_for_photo_assign$p ) ;

replace with
$photo myalbum_get_array_for_photo_assign_light$p ) ;

12
fk943
Re: For who need myalbum send e-card
  • 2007/5/25 16:06

  • fk943

  • Just popping in

  • Posts: 2

  • Since: 2005/7/19


Error happened on sending E-Card

13
rasme
Re: For who need myalbum send e-card
  • 2007/5/25 16:27

  • rasme

  • Just popping in

  • Posts: 39

  • Since: 2005/5/9 6


please read

14
fk943
Re: For who need myalbum send e-card
  • 2007/5/25 17:33

  • fk943

  • Just popping in

  • Posts: 2

  • Since: 2005/7/19


Quote:

rasme wrote:
please read


Quote:

All errors (0) queries (14) blocks (0) extra (0) timers (3)
Errors
Queries
SET CHARACTER SET utf8
Error number: 1115
Error message: Unknown character set: 'utf8'
SET NAMES 'utf8'
Error number: 1193
Error message: Unknown system variable 'NAMES'
SELECT * FROM EKelN_config WHERE (conf_modid = '0' AND conf_catid = '1') ORDER BY conf_order ASC
SELECT sess_data FROM EKelN_session WHERE sess_id = '171ed9d6736427e6769f9dd02c1dbe80'
SELECT * FROM EKelN_users WHERE uid=1
SELECT * FROM EKelN_modules WHERE dirname = 'myalbum'
SELECT * FROM EKelN_config WHERE (conf_modid = '4') ORDER BY conf_order ASC
SELECT mid FROM EKelN_modules WHERE dirname='myalbum'
SELECT conf_name,conf_value FROM EKelN_config WHERE conf_modid=4
SELECT gperm_itemid FROM EKelN_group_permission LEFT JOIN EKelN_modules m ON gperm_modid=m.mid WHERE m.dirname='myalbum' AND gperm_name='myalbum_global' AND (gperm_groupid IN (1,2))
SELECT mid FROM EKelN_modules WHERE dirname='myalbum'
SELECT conf_name,conf_value FROM EKelN_config WHERE conf_modid=4
SELECT gperm_itemid FROM EKelN_group_permission LEFT JOIN EKelN_modules m ON gperm_modid=m.mid WHERE m.dirname='myalbum' AND gperm_name='myalbum_global' AND (gperm_groupid IN (1,2))
INSERT INTO EKelN_myalbum_postal (`id` , `time` , `photo` , `short_message` , `message` , `bgcolor` , `textcolor` , `font` , `bordercolor` , `sname` , `semail` , `toname` , `toemail` , `userid` ) VALUES ('90d1180a42053f02b9733476f3e0f09c','1180116407','59','test','solo windr','#FFCC00','#000000', 'Verdana','#000000','ffxk','ffxkim@gmail.com','worksd@gmail.com','worksd@gmail.com' , '1')
Total: 14 queries


15
rasme
Re: For who need myalbum send e-card
  • 2007/5/26 8:57

  • rasme

  • Just popping in

  • Posts: 39

  • Since: 2005/5/9 6


ok

CREATE TABLE `xoops_myalbum_postal` (
`id` varchar(150) NOT NULL default '',
`time` varchar(30) NOT NULL default '',
`photo` int(11) NOT NULL default '0',
`short_message` varchar(150) NOT NULL default '',
`message` text NOT NULL,
`bgcolor` varchar(7) NOT NULL default '',
`textcolor` varchar(7) NOT NULL default '',
`font` varchar(50) NOT NULL default '',
`bordercolor` varchar(7) NOT NULL default '',
`sname` varchar(150) NOT NULL default '',
`semail` varchar(200) NOT NULL default '',
`toname` varchar(150) NOT NULL default '',
`toemail` varchar(200) NOT NULL default '',
`userid` varchar(25) default NULL,
PRIMARY KEY (`id`)
) ENGINE=MyISAM;

change name to EKelN_myalbum_postal

CREATE TABLE `EKelN_myalbum_postal` (
`id` varchar(150) NOT NULL default '',
`time` varchar(30) NOT NULL default '',
`photo` int(11) NOT NULL default '0',
`short_message` varchar(150) NOT NULL default '',
`message` text NOT NULL,
`bgcolor` varchar(7) NOT NULL default '',
`textcolor` varchar(7) NOT NULL default '',
`font` varchar(50) NOT NULL default '',
`bordercolor` varchar(7) NOT NULL default '',
`sname` varchar(150) NOT NULL default '',
`semail` varchar(200) NOT NULL default '',
`toname` varchar(150) NOT NULL default '',
`toemail` varchar(200) NOT NULL default '',
`userid` varchar(25) default NULL,
PRIMARY KEY (`id`)
) ENGINE=MyISAM;

16
n01un0
Re: For who need myalbum send e-card
  • 2007/6/19 13:30

  • n01un0

  • Quite a regular

  • Posts: 253

  • Since: 2005/10/9


HELP rasme!

The hack worked fine previously but has all of a sudden stopped working. When you click preview card it just goes back to same screen with preview card again. There is no "send" after reviewing. Also, after reviewing and the page reloads, the template is blank again and needs to be refilled out but then you get the cycle all over again after clicking preview.

I haven't changed anything since applying the hack a while back so I am not sure what I need to do to fix it.

Do I need to change the sql table name that you posted previously or was that just for his "error's" he was having

17
rasme
Re: For who need myalbum send e-card
  • 2007/6/21 22:14

  • rasme

  • Just popping in

  • Posts: 39

  • Since: 2005/5/9 6


upload
Postal.php
preview.php

then delete all file in templates_c folder

don't change the sql

18
n01un0
Re: For who need myalbum send e-card
  • 2007/6/21 22:29

  • n01un0

  • Quite a regular

  • Posts: 253

  • Since: 2005/10/9


Quote:

rasme wrote:
upload
Postal.php
preview.php

then delete all file in templates_c folder

don't change the sql


I just re-uploaded those two files and deleted everything in templates_c and that didn't do the trick.

Still only getting preview button with no send button and also after clicking preview, the forms filled out for the ecard are blank again

I am at a loss since it worked perfect before.

19
n01un0
Re: For who need myalbum send e-card
  • 2007/6/26 2:29

  • n01un0

  • Quite a regular

  • Posts: 253

  • Since: 2005/10/9


Quote:

rasme wrote:
hi

can you i see php Debug
and smarty templates Debug

we can see where the error.

eCard Main:
Notice [PHP]: Constant _ALBM_NAME already defined in file modules/myalbum/language/english/main.php line 233
Notice [PHP]: Undefined variable: description in file modules/myalbum/include/draw_functions.php line 117
Notice [PHP]: Undefined variable: file in file modules/myalbum/postal.php line 200

Clicking Preview:
Notice [PHP]: Constant _ALBM_NAME already defined in file modules/myalbum/language/english/main.php line 233
Notice [PHP]: Undefined variable: preview in file modules/myalbum/postal.php line 129
Notice [PHP]: Undefined variable: description in file modules/myalbum/include/draw_functions.php line 117
Notice [PHP]: Undefined variable: file in file modules/myalbum/postal.php line 200

Any thoughts?

20
xavhmn
Re: For who need myalbum send e-card
  • 2007/6/26 5:07

  • xavhmn

  • Just popping in

  • Posts: 23

  • Since: 2004/11/16


this hack dont work if register_global off

Login

Who's Online

470 user(s) are online (341 user(s) are browsing Support Forums)


Members: 0


Guests: 470


more...

Donat-O-Meter

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

Latest GitHub Commits