Author Topic: [BUG] 1.7.4 Postcard Vorschau | Postcard Preview  (Read 60778 times)

0 Members and 1 Guest are viewing this topic.

Offline thunderstrike

  • 4images Guru
  • *******
  • Posts: 2.327
    • View Profile
Re: [BUG] 1.7.4 Postcard Vorschau | Postcard Preview
« Reply #15 on: December 29, 2007, 10:55:15 PM »
Hum ... please post content postcards_preview.html file (no view-source from browser - real file only !). ;)
8 steps need when ask question -

- PHP version (ACP - > phpinfo())
- mySQL version (ACP - > phpinfo())
- 4images version
- Post screenshot / URL
- Post code in BB Code (no need full file for code) or post attach file
- It doesn't work. What is say - what is do for no work
- Install MOD ? If so - please say (troubleshooting)
- Read FAQ ? Install Bug fixes ?

Offline kai

  • Administrator
  • Addicted member
  • *****
  • Posts: 1.421
    • View Profile
    • 4images - Image Gallery Management System
Re: [BUG] 1.7.4 Postcard Vorschau | Postcard Preview
« Reply #16 on: January 10, 2008, 06:48:15 PM »
Es wird in 4images 1.7.5 gefixt sein.
Your first three "must do" before you ask a question:
1. Forum rules
2. FAQ
3. Search

Offline quartz

  • Newbie
  • *
  • Posts: 18
    • View Profile
Re: [BUG] 1.7.4 Postcard Vorschau | Postcard Preview
« Reply #17 on: January 13, 2008, 08:55:12 PM »
I get this error after I click the card preview button

Parse error: syntax error, unexpected $end in /www/folder/includes/template.php(101) : eval()'d code on line 136

using 1.7.4 gallery

Offline thunderstrike

  • 4images Guru
  • *******
  • Posts: 2.327
    • View Profile
Re: [BUG] 1.7.4 Postcard Vorschau | Postcard Preview
« Reply #18 on: January 13, 2008, 10:18:30 PM »
In HTML template, check for: {if ... and {endif ... for right constant. One {endif ... is miss ...
8 steps need when ask question -

- PHP version (ACP - > phpinfo())
- mySQL version (ACP - > phpinfo())
- 4images version
- Post screenshot / URL
- Post code in BB Code (no need full file for code) or post attach file
- It doesn't work. What is say - what is do for no work
- Install MOD ? If so - please say (troubleshooting)
- Read FAQ ? Install Bug fixes ?

Offline thunderstrike

  • 4images Guru
  • *******
  • Posts: 2.327
    • View Profile
Re: [BUG] 1.7.4 Postcard Vorschau | Postcard Preview
« Reply #19 on: January 15, 2008, 05:38:51 PM »
I say post before ... for check IF and ENDIF tag in template ...  :?
8 steps need when ask question -

- PHP version (ACP - > phpinfo())
- mySQL version (ACP - > phpinfo())
- 4images version
- Post screenshot / URL
- Post code in BB Code (no need full file for code) or post attach file
- It doesn't work. What is say - what is do for no work
- Install MOD ? If so - please say (troubleshooting)
- Read FAQ ? Install Bug fixes ?

Offline thunderstrike

  • 4images Guru
  • *******
  • Posts: 2.327
    • View Profile
Re: [BUG] 1.7.4 Postcard Vorschau | Postcard Preview
« Reply #20 on: January 15, 2008, 05:43:52 PM »
Quote
Parse error: syntax error, unexpected $end in /www/folder/includes/template.php(101) : eval()'d code on line 136

Unexpected error - is mean no close braket at end of template function (eval()'d) . Is ENDIF tag error.
8 steps need when ask question -

- PHP version (ACP - > phpinfo())
- mySQL version (ACP - > phpinfo())
- 4images version
- Post screenshot / URL
- Post code in BB Code (no need full file for code) or post attach file
- It doesn't work. What is say - what is do for no work
- Install MOD ? If so - please say (troubleshooting)
- Read FAQ ? Install Bug fixes ?

Offline shadowhunter

  • Full Member
  • ***
  • Posts: 114
    • View Profile
    • Fotogalerie & Fotocommunity scluzern.com
Re: [BUG] 1.7.4 Postcard Vorschau | Postcard Preview
« Reply #21 on: January 30, 2008, 10:57:24 PM »
Hallo!

Gibt es jetzt zu diesem Problem schon eine funktionierende Lösung, sodass man die E-Mail-Adressen & die Smilies in der Nachricht verwendet werden kann?
Bei mir funktioniert es ebenfalls nicht, obwohl ich auf 1.7.5 am updaten bin...

Selbst auf der offiziellen Demo-Webseite mit Version 1.7.5 funktioniert es immernoch nicht >>> http://demo.4homepages.de/postcards.php?image_id=54

@ivan: Habe gesehen, dass man bei dir die E-Mail verwenden kann. Wie hast du es geschafft?

Bin euch sehr dankbar!
Grüsse

Offline shadowhunter

  • Full Member
  • ***
  • Posts: 114
    • View Profile
    • Fotogalerie & Fotocommunity scluzern.com
Re: [BUG] 1.7.4 Postcard Vorschau | Postcard Preview
« Reply #22 on: February 02, 2008, 10:26:19 AM »
Hallo!

D: Ich habe eine Lösung für dieses bekannte Problem gefunden! Die Lösung ist nicht die Beste, aber sie funktioniert einwandfrei!
Funktioniert jetzt auch mit jeder E-Mail-Adresse, dem Smilie MOD und mit der Zeilenschaltung (wrap-around).

E: I have found a solution for this bug! It works perfectly! Works now with every email and with the smilie MOD!

Hier kann diese Funktion getestet werden:
DEMO:   http://www.fotogalerie.scluzern.com


in postcard.php mit der Version 1.7.5

Suche/Search:
Code: [Select]
"message" => format_text($image_row['postcard_message'], 0)
Ersetze mit/Replace with:
Code: [Select]
"message" => str_replace("\"", "'", format_text($image_row['postcard_message'], 0))
Suche/Search:
Code: [Select]
"message" => format_text(stripslashes($message), 0),
Ersetze mit/Replace with:
Code: [Select]
"message" => str_replace("\"", "'", format_text(stripslashes($message), 0)),

Funktioniert es bei euch auch? Ich würde meinen, jetzt haben wir dieses Problem (vorübergehend?) gelöst...! Jedenfalls wir die ganze Nachricht mit der Email in die Datenbank eingetragen.

Grüsse
Jones


Offline m.a

  • Jr. Member
  • **
  • Posts: 83
    • View Profile
Re: [BUG] 1.7.4 Postcard Vorschau | Postcard Preview
« Reply #23 on: February 22, 2008, 02:40:38 AM »
moin.

ändert in der postcards.php dies (zeile 222)

Code: [Select]
      "message" => format_text(stripslashes($message), 2),

auf

Code: [Select]
      "message" => format_text($message),
Danke Nicky!
Das funktioniert doch einwandfrei die Zeilenumbruch!
Warum soll man die Lösung von thunderstrike nutzen?

Noch Mal Danke Nicky
m.a


Offline m.a

  • Jr. Member
  • **
  • Posts: 83
    • View Profile
Re: [BUG] 1.7.4 Postcard Vorschau | Postcard Preview
« Reply #24 on: February 22, 2008, 06:19:16 AM »
hallo m.a
benutze bitte die neue version 1.7.6.

dort wurde der fehler richtig behoben (siehe hier)
http://www.4homepages.de/forum/index.php?topic=19925.msg108092#msg108092

Hallo Ivan,
ich bekomme aber keinen Feher!
Mein Version ist naja, 1.7.4, dass ich auf 1.7.6 Upged. gemacht.
Beim Postcard sollte ich nur vom Nicky geschriebenen Code ersetzen.
Ich nutze keine Bestätigungs-Code, b.z.w. keine captcha!
Und damit ist kein Fehler mehr da!

Danke dir für post
m.a
« Last Edit: February 22, 2008, 06:43:44 AM by m.a »