Author Topic: Parse Error in admin\images.php  (Read 3304 times)

0 Members and 1 Guest are viewing this topic.

Offline Peeling

  • Pre-Newbie
  • Posts: 2
    • View Profile
Parse Error in admin\images.php
« on: June 29, 2012, 08:07:52 PM »
Hello Guys,
I'm running an 4images server version 1.7.10.

After installing some mods i get a parse error when i try to access "Modify Pictures" and "Add Pictures" in the ACB.

Here is the error message:
Code: [Select]
Parse error: syntax error, unexpected ':' in E:\4images_Mobile_Server\root\admin\images.php on line 205

And the corresponding line from admin\images.php

$image_active 
= (isset($HTTP_POST_VARS['image_active']) && intval($HTTP_POST_VARS['image_active']) : 0;


Can anyone hint my my mistake, i'm pretty new to PHP and after searching and forum and google i don't know what to do.

Big thanks in advance.
Peeling

Rembrandt

  • Guest
Re: Parse Error in admin\images.php
« Reply #1 on: June 29, 2012, 08:29:08 PM »
Welcome to the Forum!


$image_active 
= (isset($HTTP_POST_VARS['image_active']) ? intval($HTTP_POST_VARS['image_active']) : 0;


mfg Andi

Offline Peeling

  • Pre-Newbie
  • Posts: 2
    • View Profile
Re: Parse Error in admin\images.php
« Reply #2 on: June 29, 2012, 08:51:17 PM »
Big thanks for the quick help.

Welcome to the Forum!


$image_active 
= (isset($HTTP_POST_VARS['image_active'])) ? intval($HTTP_POST_VARS['image_active']) : 0;


mfg Andi