Oh no! Where's the JavaScript?
Your Web browser does not have JavaScript enabled or does not support JavaScript. Please enable JavaScript on your Web browser to properly view this Web site, or upgrade to a Web browser that does support JavaScript.
Not a member yet? Click here to register.
Forgot Password?

Why is This English.php Not Wroking?

Asked Modified Viewed 1,652 times
C
Craig
C
Craig 14
  • Fusioneer, joined since
  • Contributed 4,462 posts on the community forums.
  • Started 212 threads in the forums
  • Started this discussions
asked
Fusioneer

Hi,

Does anyone see any reason why this English.php is not working, I get this error on the infusions page....

Quote

Parse error: syntax error, unexpected T_VARIABLE in /home/lol/public_html/test/infusions/enhanced_online_users_panel/locale/English.php on line 1


Well I am not seeing anything wrong with this file however in notepad++ it does show this part in Yellow colour....

<?php
$locale['eou_title'] = "Enhanced Online Users Panel";

$locale['eou_desc'] = "Enhanced Online Users Panel";

$locale['eou000'] = "New Members";

$locale['eou001'] = "Total Members:";

$locale['eou002'] = "Today:";

$locale['eou002b'] = "Last 7 Days:";

$locale['eou002c'] = "Last 30 Days:";

$locale['eou003'] = "Members who have visited today:";

$locale['eou005'] = "<img src='"


File Attached Any ideas anyone?

Kind Regards
Craig
Edited by Craig on 10-03-2013 14:21,
Craig attached the following file:
english.rar [No information available / 190 Downloads]
0 replies

9 posts

C
Craig
C
Craig 14
  • Fusioneer, joined since
  • Contributed 4,462 posts on the community forums.
  • Started 212 threads in the forums
  • Started this discussions
answered
Fusioneer

No look at the full code in the file, its correct the above is just showing the part that is highlighted yellow.
0 replies
J
JoiNNN
J
JoiNNN 10
  • Veteran Member, joined since
  • Contributed 850 posts on the community forums.
  • Started 100 threads in the forums
answered
Veteran Member

Try moving
$locale['eou005'] = "<img src='".INFUSIONS."enhanced_online_users_panel/images/stats.png' alt='Statistics' title='Statistics' border='0'/>";
at the end of the file.
is that the default file in the infusion?
0 replies
C
Craig
C
Craig 14
  • Fusioneer, joined since
  • Contributed 4,462 posts on the community forums.
  • Started 212 threads in the forums
  • Started this discussions
answered
Fusioneer

It makes no difference whether that is in the file or not. That is no the issue I have no idea what the issue is.

Yes its the locale for it...

if (file_exists(INFUSIONS."enhanced_online_users_panel/locale/".$settings['locale'].".php")) {
   include INFUSIONS."enhanced_online_users_panel/locale/".$settings['locale'].".php";
} else {
   include INFUSIONS."enhanced_online_users_panel/locale/English.php";
}


Still just a blank page error on infusions.php

I am really confused.
0 replies
J
JoiNNN
J
JoiNNN 10
  • Veteran Member, joined since
  • Contributed 850 posts on the community forums.
  • Started 100 threads in the forums
answered
Veteran Member

Download link for that infusion? Can't find one...
0 replies
C
Craig
C
Craig 14
  • Fusioneer, joined since
  • Contributed 4,462 posts on the community forums.
  • Started 212 threads in the forums
  • Started this discussions
answered
Fusioneer

This will be the new release I was just getting it ready for release until I stumbled across this stupid non existent error. Makes no sense.
Edited by Craig on 10-03-2013 14:36,
0 replies
J
JoiNNN
J
JoiNNN 10
  • Veteran Member, joined since
  • Contributed 850 posts on the community forums.
  • Started 100 threads in the forums
answered
Veteran Member

Files are missing from the infusion

X:\wamp\www\fusion\infusions\enhanced_online_users_panel\enhanced_online_users_panel.php
include(infusions/enhanced_online_users_panel/infusion_db.php): failed to open stream: No such file or directory Line: 35


also

Table 'fusion725.db_maxusers' doesn't exist

But no locales error.
0 replies
C
Craig
C
Craig 14
  • Fusioneer, joined since
  • Contributed 4,462 posts on the community forums.
  • Started 212 threads in the forums
  • Started this discussions
answered
Fusioneer

There in here same as used on my test site same files giving me the error.

This is got to be the most ridiculous problem I have ever had it is phenomenal man dude. :D
Edited by Craig on 10-03-2013 14:36,
0 replies
J
JoiNNN
J
JoiNNN 10
  • Veteran Member, joined since
  • Contributed 850 posts on the community forums.
  • Started 100 threads in the forums
answered
Veteran Member

Works just fine over here :)
0 replies
C
Craig
C
Craig 14
  • Fusioneer, joined since
  • Contributed 4,462 posts on the community forums.
  • Started 212 threads in the forums
  • Started this discussions
answered
Fusioneer

Seriously, well there must be a duplicate using the same locale numbers on my test somewhere. That's the only other explanation, if its working fine then good.

Thanks for your effort.
0 replies

Labels

None yet

Statistics

  • Views 0 views
  • Posts 9 posts
  • Votes 0 votes
  • Topic users 2 members

2 participants

C
C
Craig 14
  • Fusioneer, joined since
  • Contributed 4,462 posts on the community forums.
  • Started 212 threads in the forums
  • Started this discussions
J
J
JoiNNN 10
  • Veteran Member, joined since
  • Contributed 850 posts on the community forums.
  • Started 100 threads in the forums

Notifications

Track thread

You are not receiving notifications from this thread.

Related Questions

Not yet