4images Forum & Community
Welcome, Guest. Please login or register.
Did you miss your activation email?
October 16, 2018, 09:23:31 AM

Login with username, password and session length
Search:     Advanced search
Togle to toolbar
Translate this page with =>
Translate this page >
* Home Help Search Login Register
 
+  4images Forum & Community
|-+  4images Issues / Ausgaben
| |-+  Feedback & Suggestions (Moderator: Acidgod)
| | |-+  Bug: constants: URL_IMAGE_ID
0 Members and 1 Guest are viewing this topic. « previous next »
Pages: [1] Print
Author Topic: Bug: constants: URL_IMAGE_ID  (Read 2554 times)
renek
Pre-Newbie

Offline Offline

Posts: 1

Thank You
-Given: 0
-Receive: 0


View Profile
« on: June 10, 2016, 11:22:26 PM »

Hallo, ich habe local ein wenig die Funktionen ausprobiert und herum gebastelt.

Folgenden kleinen Fehler habe ich gefunden, der leicht zu beseitigen ist:

Ändert man in constants.php die Variable
1
define('URL_IMAGE_ID''image_id');

so ist die Übergabe der Variable in folgenden 4 Formularen nicht mehr möglich:
  • .\templates\default\member_deleteimage.html
  • .\templates\default\member_editimage.html
  • .\templates\default\postcard_create.html
  • .\templates\default\postcard_preview.html

Lösung: In allen 4 Formularen ist
1
name="image_id"
durch
1
name="{URL_IMAGE_VARIABLE}"
zu ersetzen.
Wobei die Variable in member.php und postcards.php zu definieren ist:
1
"URL_IMAGE_VARIABLE" => URL_IMAGE_ID

Viel Ergolg  Cool

Edit: Gleiches gilt für
1
define('URL_CAT_ID''cat_id');
in .\templates\default\member_uploadform.html

und auch für
1
define('URL_USER_ID''user_id');
in .\templates\default\member_mailform.html
« Last Edit: June 10, 2016, 11:35:19 PM by renek » Logged
Bensimal
Pre-Newbie

Offline Offline

Posts: 2

Thank You
-Given: 0
-Receive: 0


View Profile
« Reply #1 on: September 24, 2018, 09:02:37 AM »

I want to get information about this very much. Please help me
Logged
Pages: [1] Print 
« previous next »
Jump to:  

Powered by MySQL Powered by PHP Powered by SMF | SMF © 2015, Simple Machines Valid XHTML 1.0! Valid CSS!
Page created in 0.047 seconds with 19 queries.
Post your comments here