Parse error : unexpected T_CONSTANT_ENCAPSED_STRING

If you want to update to 1.1, please post in the viewforum.php?f=105
Forum rules
Support ended: 31.12.2011

Parse error : unexpected T_CONSTANT_ENCAPSED_STRING

Postby Clenzowen » Fri Jan 14, 2011 7:27 pm

Gallery Version: 1.0.5
phpBB Version: 3.0.8
Gallery-Link: http://arcadesetjeux35.forumsfaciles.com/gallery/index.php


Error message:
    Code: Select all
    Parse error: syntax error, unexpected T_CONSTANT_ENCAPSED_STRING in /home/forumsfa/public_html/personnel/gratuits/arcades-et-jeux-35/index.php on line 545

Error description and message
hello
I installed the mod and then I put the french language
but now I have a general error on the forum
here are the 5 lines before and after line 545
could you please help me
thank you in advance

Code: Select all
// Assign index specific vars
$template->assign_vars(array(
   'TOTAL_POSTS'   => sprintf($user->lang[$l_total_post_s], $total_posts),
   'TOTAL_TOPICS'   => sprintf($user->lang[$l_total_topic_s], $total_topics),
   'TOTAL_USERS'   => sprintf($user->lang[$l_total_user_s], $total_users
    'TOTAL_IMAGES'   => ($config['gallery_total_images']) ? sprintf($user->lang[$l_total_image_s], $total_images) : '',
   'NEWEST_USER'   => sprintf($user->lang['NEWEST_USER'], get_username_string('full', $config['newest_user_id'], $config['newest_username'], $config['newest_user_colour'])),
      // BEGIN Welcome Mod   
    'S_WELCOME'                   => $s_welcome,
    'S_JOINED_DATE'               => $user->lang['JOINED'] . ': ' . $user->format_date($user->data['user_regdate']),
    'USER_AVATAR'               => get_user_avatar($user->data['user_avatar'], $user->data['user_avatar_type'], $user->data['user_avatar_width'], $user->data['user_avatar_height']),
    'MEMBER_FOR'               => (!empty($member_for)) ? $user->lang['MEMBER_FOR'] . ' ' . $member_for : '',
      // END Welcome Mod
Clenzowen
Posts < 10
Posts < 10
 
Posts: 5
Topics: 2
Joined: Fri Jan 14, 2011 6:05 pm
phpBB.com: Clenzowen

Re: Parse error : unexpected T_CONSTANT_ENCAPSED_STRING

Postby nickvergessen » Sun Jan 16, 2011 2:55 pm

Am Ende der Zeile
Code: Select all
sprintf($user->lang[$l_total_user_s], $total_users
fehlen ) und ,
cheers nickvergessen :geek:

Member of phpBB Development-Team
No Support via PM
User avatar
nickvergessen
Administrator
Administrator
 
Posts: 5748
Topics: 217
Images: 139
Joined: Mon Oct 15, 2007 4:15 pm
phpBB.de: nickvergessen
phpBB.com: nickvergessen

Re: Parse error : unexpected T_CONSTANT_ENCAPSED_STRING

Postby Clenzowen » Sun Jan 16, 2011 7:38 pm

good evening
at the end of which line please?
Clenzowen
Posts < 10
Posts < 10
 
Posts: 5
Topics: 2
Joined: Fri Jan 14, 2011 6:05 pm
phpBB.com: Clenzowen

Re: Parse error : unexpected T_CONSTANT_ENCAPSED_STRING

Postby femu » Mon Jan 17, 2011 12:24 pm

Code: Select all
'TOTAL_USERS'   => sprintf($user->lang[$l_total_user_s], $total_users


Should be
Code: Select all
'TOTAL_USERS'   => sprintf($user->lang[$l_total_user_s], $total_users),


Regards,
femu
Danke und Gruß
femu
femu
Posts > 50
Posts > 50
 
Posts: 75
Topics: 18
Joined: Thu Jul 31, 2008 10:18 am
phpBB.de: femu
phpBB.com: femu

Re: Parse error : unexpected T_CONSTANT_ENCAPSED_STRING

Postby Clenzowen » Fri Jan 21, 2011 8:58 pm

hello
in includes/acp/acp_logs.php i don't find

Code: Select all
$checks = array('viewtopic', 'viewlogs', 'viewforum');


i only have :

Code: Select all
<?php
/**
*
* @package acp
* @version $Id$
* @copyright (c) 2005 phpBB Group
* @license http://opensource.org/licenses/gpl-license.php GNU Public License
*
*/

/**
* @package module_install
*/
class acp_logs_info
{
   function module()
   {
      return array(
         'filename'   => 'acp_logs',
         'title'      => 'ACP_LOGGING',
         'version'   => '1.0.0',
         'modes'      => array(
         'admin'      => array('title' => 'ACP_ADMIN_LOGS', 'auth' => 'acl_a_viewlogs', 'cat' => array('ACP_FORUM_LOGS')),
         'mod'      => array('title' => 'ACP_MOD_LOGS', 'auth' => 'acl_a_viewlogs', 'cat' => array('ACP_FORUM_LOGS')),
         'users'      => array('title' => 'ACP_USERS_LOGS', 'auth' => 'acl_a_viewlogs', 'cat' => array('ACP_FORUM_LOGS')),
         'critical'   => array('title' => 'ACP_CRITICAL_LOGS', 'auth' => 'acl_a_viewlogs', 'cat' => array('ACP_FORUM_LOGS')),
         ),
      );
   }

   function install()
   {
   }

   function uninstall()
   {
   }
}

?>


can u help me please

EDIT :
even without having made the change mentioned below I can view the galleries and do everything except the display is not consistent.
I have black stripes and gray instead of gray only
how to improve this template change?

Image
Clenzowen
Posts < 10
Posts < 10
 
Posts: 5
Topics: 2
Joined: Fri Jan 14, 2011 6:05 pm
phpBB.com: Clenzowen

Re: Parse error : unexpected T_CONSTANT_ENCAPSED_STRING

Postby nickvergessen » Mon Jan 24, 2011 11:23 am

Clenzowen wrote:hello
in includes/acp/acp_logs.php i don't find

Code: Select all
$checks = array('viewtopic', 'viewlogs', 'viewforum');


i only have :

Code: Select all
<?php
...
thats includes/acp/info/acp_logs.php not includes/acp/acp_logs.php

Clenzowen wrote:even without having made the change mentioned below I can view the galleries and do everything except the display is not consistent.
I have black stripes and gray instead of gray only
how to improve this template change?

Image

viewtopic.php?f=9&t=2077
cheers nickvergessen :geek:

Member of phpBB Development-Team
No Support via PM
User avatar
nickvergessen
Administrator
Administrator
 
Posts: 5748
Topics: 217
Images: 139
Joined: Mon Oct 15, 2007 4:15 pm
phpBB.de: nickvergessen
phpBB.com: nickvergessen

Re: Parse error : unexpected T_CONSTANT_ENCAPSED_STRING

Postby Clenzowen » Mon Jan 24, 2011 1:49 pm

hello
it's ok now and very good !!
is it possible to scroll to the recent photos on the forum index ?
Clenzowen
Posts < 10
Posts < 10
 
Posts: 5
Topics: 2
Joined: Fri Jan 14, 2011 6:05 pm
phpBB.com: Clenzowen


Return to Installation, Update & Conversion

Who is online

Users browsing this forum: No registered users and 0 guests

 

cron