Advanced search  

News:

CPG Release 1.6.26
Correct PHP8.2 issues with user and language managers.
Additional fixes for PHP 8.2
Correct PHP8 error with SMF 2.0 bridge.
Correct IPTC supplimental category parsing.
Download and info HERE

Pages: [1]   Go Down

Author Topic: Parse error for Russian users of the Gallery  (Read 3993 times)

0 Members and 1 Guest are viewing this topic.

thedanu

  • Coppermine newbie
  • Offline Offline
  • Posts: 2
Parse error for Russian users of the Gallery
« on: October 15, 2007, 03:30:40 pm »

I've already have some complain from russian users, stating that they get an error when they try to access my site. I got it myself aswell when I tried to change the language to Russian, so I tried removing the menu for choosing the language, but that didn't solve the problem either.
The exact error they get is the following:

Parse error: syntax error, unexpected T_STRING in /home/loudarts/public_html/cpg1412/lang/russian.php on line 66

Unluckily enough I don't know PHP, so I can't fix that error.
The link the the main page of the gallery is this:

http://www.loudarts.net/cpg1412/index.php

If anybody would need any more details I'd be most glad to provide them.
Thank you very much in advance,


Ane
Logged

Hein Traag

  • Dev Team member
  • Coppermine addict
  • ****
  • Country: nl
  • Offline Offline
  • Gender: Male
  • Posts: 2166
  • A, B, Cpg
    • Personal website - Spintires.nl
Re: Parse error for Russian users of the Gallery
« Reply #1 on: October 15, 2007, 03:34:28 pm »

Update first, you are running 1.4.12 ( <!--Coppermine Photo Gallery 1.4.12 (stable)--> )
Logged

thedanu

  • Coppermine newbie
  • Offline Offline
  • Posts: 2
Re: Parse error for Russian users of the Gallery
« Reply #2 on: October 15, 2007, 03:39:39 pm »

Thank you very much! I'll try to do it now, and if the problem stays I'll come back for help again  :)
Logged

Fallonized

  • Coppermine newbie
  • Offline Offline
  • Posts: 10
Re: Parse error for Russian users of the Gallery
« Reply #3 on: November 07, 2007, 06:59:18 pm »

I'm having the same problem and I'm using cpg1.4. I see that there is a 1414 but I'm afraid that if I replace all of the files, it's all going to get messed up again. I've already fixed three things but then it just leads to another problem.


Parse error: syntax error, unexpected T_STRING in /home/.dom/fallonized/fallonized.org/FallonizeYourEyes/include/config.inc.php on line 12

???
Logged

François Keller

  • Dev Team member
  • Coppermine addict
  • ****
  • Country: fr
  • Offline Offline
  • Gender: Male
  • Posts: 9094
  • aka Frantz
    • Ma galerie
Re: Parse error for Russian users of the Gallery
« Reply #4 on: November 07, 2007, 07:05:43 pm »

do as Hein suggest, update first
Logged
Avez vous lu la DOC ? la FAQ ? et cherché sur le forum avant de poster ?
Did you read the DOC ? the FAQ ? and search the board before posting ?
Mon Blog

Fallonized

  • Coppermine newbie
  • Offline Offline
  • Posts: 10
Re: Parse error for Russian users of the Gallery
« Reply #5 on: November 07, 2007, 07:07:56 pm »

So updating all of the files is sure to not f up everything that I already did solve?
Logged

Nibbler

  • Guest
Re: Parse error for Russian users of the Gallery
« Reply #6 on: November 07, 2007, 07:42:18 pm »

You need to fix this first before you can update. Download include/config.inc.php and open it in a text editor. Look for anything that's been added at the end that shouldn't be there. If you can't see the problem then attach the file to your next post, being sure to remove your login and password.
Logged

Fallonized

  • Coppermine newbie
  • Offline Offline
  • Posts: 10
Re: Parse error for Russian users of the Gallery
« Reply #7 on: November 09, 2007, 04:38:28 am »

I altered line 12 with everything I could think of, prompting the message to tell me different things but never what I needed so I give up trying to figure out the problem myself.

Here's what I've got


<?php
// Coppermine configuration file

// MySQL configuration
$CONFIG['dbserver'] =                         'mysql.fallonized.org';        // Your database server
$CONFIG['dbuser'] =                         '######';        // Your mysql username
$CONFIG['dbpass'] =                         '#####';                // Your mysql password
$CONFIG['dbname'] =                         'jimmyfallon';        // Your mysql database name


// MySQL TABLE NAMES PREFIX
$CONFIG['TABLE_PREFIX'] = ''fallonized.cpg132_config';
?>
Logged

Joachim Müller

  • Dev Team member
  • Coppermine addict
  • ****
  • Offline Offline
  • Gender: Male
  • Posts: 47843
  • aka "GauGau"
    • gaugau.de
Re: Parse error for Russian users of the Gallery
« Reply #8 on: November 09, 2007, 08:09:19 am »

Replace
Code: [Select]
$CONFIG['TABLE_PREFIX'] = ''fallonized.cpg132_config';with
Code: [Select]
$CONFIG['TABLE_PREFIX'] = 'fallonized.cpg132_config';(two single quotes at the start of the string). You must have edited the file manually in the first place - this isn't something that happens randomly.
Logged
Pages: [1]   Go Up
 

Page created in 0.02 seconds with 19 queries.