Forum

JiFile for Joomla!

JIFile
JiFile is a component for Joomla! that allows you to index file contents (PDF, DOC, etc..) to perform searches in them.

Learn more...  Demo

JoomPhoto Mobile

JPhotoMobile
JoomPhoto Mobile is a component for Joomla! that allows you to share the photos from your Android device to your site Joomla.

Learn more...  Demo

iFile Framework

IFile
IFile is an open source framework written entirely in PHP, allows the indexing of textual content of a document (DOC, PDF, EXCEL, etc.) and a quick search within them.

Learn more...  Demo

Easy Language

EasyLanguage
Easy Language is a plugin for easy and immediate management of multilingual texts in every possible area of joomla, articles, components, modules, metadata, template, other components(example K2) etc.

Learn more...

Article Book Effect

Article Book Effect
View Joomla articles with the effect turns the page of a book. This plugin will display the contents of an article in Joomla as a real book or magazine, using all the benefits of HTML5

Learn more...  Demo

 

Passport photo

Passport photo
The most popular Android app that allows you to print photos cards for your documents with your Android smartphone, in a simple and intuitive way.

Learn more...

 

Crazy Shadow

Crazy Shadow
Crazy Shadow is the 3D fast-paced and fun puzzle Android game! Try to rotate and drag shapes in the position of their shadows without fail! Solve in succession all combinations of levels of the game.

Learn more...

 

Admin Countdown

Admin Countdown
Module for Joomla! 2.5 and 3.x displays in the administration part of the site, a timer with countdown of the time remaining in your session.

Learn more...  Demo

 
Welcome, Guest
Username: Password: Remember me

TOPIC: Parse error: syntax error, unexpected '=',…

Parse error: syntax error, unexpected '=',… 28 Sep 2012 17:31 #618

  • franck
  • franck's Avatar
  • OFFLINE
  • Fresh Boarder
  • Posts: 3
Please, let me know what to do :
After i installed the plugin, i had :
in backend
"Parse error: syntax error, unexpected '=', expecting '(' in /homez.144/atelierdk/www/cms/administrator/includes/framework.php on line 35"
In frontend
"Parse error: syntax error, unexpected '=', expecting '(' in /homez.144/atelierdk/www/cms/includes/framework.php on line 42"

I deleted the folder www/plugins/articlebooklet and nothing changed.

Any idea to solve it ? Regards
The administrator has disabled public write access.

Re: Parse error: syntax error, unexpected '=',… 01 Oct 2012 19:20 #626

  • Antonio
  • Antonio's Avatar
  • OFFLINE
  • Administrator
  • Posts: 486
  • Thank you received: 66
what version of joomla are you using?
Are you sure it's the fault of Article Book Effect? errors are of joomla core files
If you like, if it was useful, consider a donation, Thanks
Se vuoi, se ti siamo stati utili, considera una donazione, Grazie
Help us by voting our extensions on Joomla.org:
JiFile
JoomPhoto Mobile
Easy Language
The administrator has disabled public write access.

Re: Parse error: syntax error, unexpected '=',… 01 Oct 2012 19:32 #627

  • franck
  • franck's Avatar
  • OFFLINE
  • Fresh Boarder
  • Posts: 3
Thanks for your answer.
I use joomla 2.5.6 and i didn't change anything else than install the plugin.
Regards
The administrator has disabled public write access.

Re: Parse error: syntax error, unexpected '=',… 01 Oct 2012 21:08 #628

  • Antonio
  • Antonio's Avatar
  • OFFLINE
  • Administrator
  • Posts: 486
  • Thank you received: 66
looking a bit 'on the internet, should be a problem with the php version you use, however I found this:
try adding these lines to the file HTACCESS
AddHandler application/x-httpd-php5 .php5 .php4 .php .php3 .php2 .phtml
AddType application/x-httpd-php5 .php5 .php4 .php .php3 .php2 .phtml
If you like, if it was useful, consider a donation, Thanks
Se vuoi, se ti siamo stati utili, considera una donazione, Grazie
Help us by voting our extensions on Joomla.org:
JiFile
JoomPhoto Mobile
Easy Language
Last Edit: 01 Oct 2012 21:09 by Antonio.
The administrator has disabled public write access.

Re: Parse error: syntax error, unexpected '=',… 02 Oct 2012 12:27 #635

  • franck
  • franck's Avatar
  • OFFLINE
  • Fresh Boarder
  • Posts: 3
in the .htaccess i had :

setEnv PHP_VER_5_4

When i put your code after, refreshing the page makes to download a file with this code :

<?php
/**
* @packageJoomla.Administrator
* @copyrightCopyright (C) 2005 - 2012 Open Source Matters, Inc. All rights reserved.
* @licenseGNU General Public License version 2 or later; see LICENSE.txt
*/

// Set flag that this is a parent file
define('_JEXEC', 1);
define('DS', DIRECTORY_SEPARATOR);

if (file_exists(dirname(__FILE__) . '/defines.php')) {
include_once dirname(__FILE__) . '/defines.php';
}

if (!defined('_JDEFINES')) {
define('JPATH_BASE', dirname(__FILE__));
require_once JPATH_BASE.'/includes/defines.php';
}

require_once JPATH_BASE.'/includes/framework.php';
require_once JPATH_BASE.'/includes/helper.php';
require_once JPATH_BASE.'/includes/toolbar.php';

// Mark afterLoad in the profiler.
JDEBUG ? $_PROFILER->mark('afterLoad') : null;

// Instantiate the application.
$app = JFactory::getApplication('administrator');

// Initialise the application.
$app->initialise(array(
'language' => $app->getUserState('application.lang')
));

// Mark afterIntialise in the profiler.
JDEBUG ? $_PROFILER->mark('afterInitialise') : null;

// Route the application.
$app->route();

// Mark afterRoute in the profiler.
JDEBUG ? $_PROFILER->mark('afterRoute') : null;

// Dispatch the application.
$app->dispatch();

// Mark afterDispatch in the profiler.
JDEBUG ? $_PROFILER->mark('afterDispatch') : null;

// Render the application.
$app->render();

// Mark afterRender in the profiler.
JDEBUG ? $_PROFILER->mark('afterRender') : null;

// Return the response.
echo $app;

Any idea ? how can i remove your plugin ? which file to change ?

Regards
The administrator has disabled public write access.

Re: Parse error: syntax error, unexpected '=',… 07 Oct 2012 14:32 #655

  • franck
  • franck's Avatar
  • OFFLINE
  • Fresh Boarder
  • Posts: 3
Antonio, you were right : the php version was wrong.
I don't why it switched to 4 and made a lot of errors on my website.
Regards. :)
The administrator has disabled public write access.