Facebook  Twitter 

SMFHacks.com

+- +-

SMFHacks.com

+- User Information

Welcome, Guest.
Please login or register.
 
 
 
Forgot your password?

+- Forum Stats

Members
Total Members: 12350
Latest: cl4ude327
New This Month: 2
New This Week: 2
New Today: 1
Stats
Total Posts: 40048
Total Topics: 7051
Most Online Today: 86
Most Online Ever: 2482
(April 09, 2011, 07:02:45 pm)
Users Online
Members: 0
Guests: 43
Total: 43

Author Topic: English British Translation file  (Read 246 times)

0 Members and 1 Guest are viewing this topic.

Offline HAL9000

  • SMF Gallery Pro Customer
  • Jr. Member
  • *****
  • Posts: 57
    • View Profile
    • Fifty Plus Forum
English British Translation file
« on: January 17, 2020, 11:34:42 am »
Hi there,

Code: [Select]
https://www.fiftyplusforum.co.uk/forum/index.php?action=gallery;sa=view;id=4378

8: Use of undefined constant php - assumed 'php'

File: home/fiftyplu/public_html/forum/Themes/default/languages/Gallery.english_british.php

Suddenly started getting the above in the error log, though the Gallery (ver 5.0.3 (package file says 5.0.3c)) is working OK.

Checked the language files Gallery.english.php is dated 2006 - 2013 and is version 5 but the Gallery.english_british.php is dated 2006 - 2012 and is version 4.

Can't recall how I got the British version but it's not part of the installer.

Can I regenerate it or download it from somewhere? There are differences between the two versions which may be the reason for the error?

Thanks
Chas

Offline SMFHacks

  • Administrator
  • Hero Member
  • *****
  • Posts: 15029
    • View Profile
Re: English British Translation file
« Reply #1 on: January 17, 2020, 01:52:47 pm »
Can you attach that file.
It might not be from it


You can also try this "Disable evaluation of templates " under server settings and that might help get the true line/error number.
Get your Forum Ranked! at https://www.forumrankings.net - find out how your forum compares with others!

Like What I do? Support me at https://www.patreon.com/vbgamer45/

Offline HAL9000

  • SMF Gallery Pro Customer
  • Jr. Member
  • *****
  • Posts: 57
    • View Profile
    • Fifty Plus Forum
Re: English British Translation file
« Reply #2 on: January 17, 2020, 02:33:54 pm »
Thanks for the quick reply.

Disable evaluation of templates is already checked.

Attached are both files.


Offline SMFHacks

  • Administrator
  • Hero Member
  • *****
  • Posts: 15029
    • View Profile
Re: English British Translation file
« Reply #3 on: January 17, 2020, 02:52:05 pm »
Not seeing the constant php in that British language file.
Here is latest version 8.0.8
Get your Forum Ranked! at https://www.forumrankings.net - find out how your forum compares with others!

Like What I do? Support me at https://www.patreon.com/vbgamer45/

Offline HAL9000

  • SMF Gallery Pro Customer
  • Jr. Member
  • *****
  • Posts: 57
    • View Profile
    • Fifty Plus Forum
Re: English British Translation file
« Reply #4 on: January 17, 2020, 02:56:31 pm »
Not seeing the constant php in that British language file.
Here is latest version 8.0.8

Sorry, I can't see the attachment. I see the paperclip icon. Am I not looking in the right place?

Offline SMFHacks

  • Administrator
  • Hero Member
  • *****
  • Posts: 15029
    • View Profile
Re: English British Translation file
« Reply #5 on: January 17, 2020, 03:00:41 pm »
Try to view at this link
https://pastebin.com/0eXAEecr
Get your Forum Ranked! at https://www.forumrankings.net - find out how your forum compares with others!

Like What I do? Support me at https://www.patreon.com/vbgamer45/

Offline HAL9000

  • SMF Gallery Pro Customer
  • Jr. Member
  • *****
  • Posts: 57
    • View Profile
    • Fifty Plus Forum
Re: English British Translation file
« Reply #6 on: January 17, 2020, 03:02:52 pm »
Try to view at this link
https://pastebin.com/0eXAEecr

Thanks got it. Will upload and test, the error occurs when anyone accesses the Gallery.

Offline HAL9000

  • SMF Gallery Pro Customer
  • Jr. Member
  • *****
  • Posts: 57
    • View Profile
    • Fifty Plus Forum
Re: English British Translation file
« Reply #7 on: January 17, 2020, 03:22:40 pm »
Thanks for that file, the original error has stopped to be replaced by this one:

Code: [Select]
https://www.fiftyplusforum.co.uk/forum/index.php?action=galleryApply
8: Undefined index: moderate_ctrApply
/home/fiftyplu/public_html/forum/Sources/Subs.php
Line: 4188

I guess an uninstall and reinstall of the Gallery might help?

Chas

BTW, fully updated to 20.0.17

edit, happening on every page. Probably some other mod interfering now, not Gallery.
« Last Edit: January 17, 2020, 03:25:23 pm by HAL9000 »

Offline SMFHacks

  • Administrator
  • Hero Member
  • *****
  • Posts: 15029
    • View Profile
Re: English British Translation file
« Reply #8 on: January 17, 2020, 03:40:52 pm »
Yeah moderate_ctr not part of the gallery
Get your Forum Ranked! at https://www.forumrankings.net - find out how your forum compares with others!

Like What I do? Support me at https://www.patreon.com/vbgamer45/

Offline HAL9000

  • SMF Gallery Pro Customer
  • Jr. Member
  • *****
  • Posts: 57
    • View Profile
    • Fifty Plus Forum
Re: English British Translation file
« Reply #9 on: January 17, 2020, 05:44:28 pm »
Yeah moderate_ctr not part of the gallery
I agree, thank for your help. Problem solved.

 

Related Topics

  Subject / Started by Replies Last post
1 Replies
3416 Views
Last post February 23, 2007, 05:57:56 pm
by SMFHacks
3 Replies
5958 Views
Last post September 04, 2007, 07:00:29 am
by SMFHacks
1 Replies
3148 Views
Last post September 25, 2007, 04:13:01 pm
by SMFHacks
14 Replies
7982 Views
Last post October 02, 2010, 10:53:15 am
by SMFHacks
2 Replies
3065 Views
Last post February 03, 2013, 12:13:10 pm
by amwebby

+- Recent Topics

[Mod]Avatars Display Integration by SMFHacks
February 15, 2020, 07:30:47 pm

[Mod]BBC Message Boxes 1.0 by SMFHacks
February 15, 2020, 07:26:46 pm

[Mod]Stack Trace by live627 by SMFHacks
February 15, 2020, 07:21:33 pm

Stripe Integration by SMFHacks
February 08, 2020, 10:55:29 pm

SMF Store 4.0 Released by SMFHacks
January 26, 2020, 12:11:56 pm

Order of photos by D4611001
January 21, 2020, 12:06:36 pm

Cannot install by SMFHacks
January 18, 2020, 09:40:56 pm

Call to undefined function mysql_query() by SMFHacks
January 18, 2020, 02:06:47 pm

English British Translation file by HAL9000
January 17, 2020, 05:44:28 pm

Characters dispayed as boxes by SMFHacks
January 16, 2020, 07:21:51 am

Powered by EzPortal