Facebook  Twitter 

SMFHacks.com

+- +-

SMFHacks.com

+- User Information

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

+- Forum Stats

Members
Total Members: 12358
Latest: KekoWorld
New This Month: 1
New This Week: 2
New Today: 0
Stats
Total Posts: 40085
Total Topics: 7058
Most Online Today: 59
Most Online Ever: 2482
(April 09, 2011, 07:02:45 pm)
Users Online
Members: 2
Guests: 53
Total: 55

Author Topic: English British Translation file  (Read 314 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: 15044
    • 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: 15044
    • 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: 15044
    • 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: 15044
    • 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
3444 Views
Last post February 23, 2007, 05:57:56 pm
by SMFHacks
3 Replies
5973 Views
Last post September 04, 2007, 07:00:29 am
by SMFHacks
1 Replies
3160 Views
Last post September 25, 2007, 04:13:01 pm
by SMFHacks
14 Replies
8040 Views
Last post October 02, 2010, 10:53:15 am
by SMFHacks
2 Replies
3094 Views
Last post February 03, 2013, 12:13:10 pm
by amwebby

+- Recent Topics

[Mod]SMF2WPBridge - Wordpress Login Bridge by SMFHacks
Today at 11:37:44 am

BUG Message Editor Pro1.0.5 by SMFHacks
Today at 09:18:50 am

Only variables should be passed by reference by Zaphod
April 02, 2020, 11:19:11 am

Cannot install Gallery Pro on SMF 2.1 RC2 by Hatshepsut
March 19, 2020, 12:55:00 am

Newbie questions by SMFHacks
March 08, 2020, 09:28:17 am

Update detect mobile mode PHP5 to PHP7 by Plus
March 05, 2020, 11:19:05 am

Just a hello by Plus
March 05, 2020, 11:05:56 am

Enotify Copyright Problem by SMFHacks
March 04, 2020, 09:21:09 pm

Cannot import by shawnb
March 02, 2020, 12:17:00 pm

Error message with latest SMF 2.1 Github build by Hatshepsut
March 01, 2020, 10:06:10 am

Powered by EzPortal