[FIXED]ERROR: Undefined variable: output

The next generation of server controlling with clean and powerful user interface

Moderators: oliverde8, reaby, NADEO

Locked
hackie
Posts: 1168
Joined: 19 Jul 2012, 22:43

[FIXED]ERROR: Undefined variable: output

Post by hackie »

Hi

I'm currently renting a server at http://nc1.eu/index.php?route=common/home

The owner installed eXpansion for me but somehow some things do not work right.

When I want to check for update I get a responce from eXpansion : already a request for update or check underway.
But I never get an answer for new update available or what so ever, so it keeps checking or can not connect.


At my host I have a control panel to configure the server and stuff , I think he made it himself.
In that control panel I have a live log for server ( log keeps refreshing everey time ) and it shows :

ERROR: Undefined variable: output

Live log should show the last 10 lines from log , but it only shows that error.


I asked my host about it and he said :

eXpansion is still under development and I had to ask You guys about it.
He could not find anything.

I only have acces to the server controller.

Could You help out ?

For info about host system I have to ask the host himself.
System Specs:
OS: Windows 7 Professionnal x64
CPU: Intel Core i7-6700K / 4 GHz - 8 MB cache
GPU: MSI GTX 980TI GAMING 6G - OC Edition
Motherboard: ASUS MAXIMUS VIII RANGER
RAM : 32Gb Kingston HyperX Savage - DDR4
DirectX 11
reaby
Posts: 956
Joined: 29 Dec 2010, 23:26
Location: Eastern Finland
Contact:

Re: ERROR: Undefined variable: output

Post by reaby »

hackie wrote: ERROR: Undefined variable: output
Live log should show the last 10 lines from log , but it only shows that error.
Looks like not to be my problem.
hackie wrote: I asked my host about it and he said:
eXpansion is still under development and I had to ask You guys about it.
He could not find anything.
"He didn't find anything..." as i thought so, it's really not problem with the plugins. this is not my consern.
hackie wrote: I only have acces to the server controller.
Could You help out ?
Since you have access for the server controller only, and you are paying for the server hosting service. It's really not anymore your job to update the controller. Best would be to disable the updates and update checking, let the sysadmin to do his job.

--
edit:
after thinking some more, the automatic updating and restarting of eXpansion needs to use php system calls, which might have been disabled by your sysadmin.
hackie
Posts: 1168
Joined: 19 Jul 2012, 22:43

Re: ERROR: Undefined variable: output

Post by hackie »

Thanks for responce.
System Specs:
OS: Windows 7 Professionnal x64
CPU: Intel Core i7-6700K / 4 GHz - 8 MB cache
GPU: MSI GTX 980TI GAMING 6G - OC Edition
Motherboard: ASUS MAXIMUS VIII RANGER
RAM : 32Gb Kingston HyperX Savage - DDR4
DirectX 11
User avatar
sotn0r
Posts: 83
Joined: 13 Mar 2011, 15:57
Contact:

Re: ERROR: Undefined variable: output

Post by sotn0r »

Hi,

just for clarification:

the php exec that eXpansion is using for updates function is indeed disabled on the server controller process, so i guess eXpansion's git updater will not work (as far as i can read from a quick look over the source).


Concerning the "ERROR" messages, i'm not sure what is causing this, but the runtime.log shows the following lines:

Code: Select all

[PluginHandler] Loading plugin "\ManiaLivePlugins\eXpansion\Widgets_Times\Widgets_Times" 0.9.7...
[PluginHandler] Loading plugin "\ManiaLivePlugins\eXpansion\Widgets_ResSkip\Widgets_ResSkip" 0.9.7...

[PluginHandler] Loading plugin "\ManiaLivePlugins\eXpansion\Widgets_ServerInfo\Widgets_ServerInfo" 0.9.7...
[PluginHandler] Loading plugin "\ManiaLivePlugins\eXpansion\Widgets_LocalRecords\Widgets_LocalRecords" 0.9.7...
[PluginHandler] Loading plugin "\ManiaLivePlugins\eXpansion\Widgets_LiveRankings\Widgets_LiveRankings" 0.9.7...
[PluginHandler] Loading plugin "\ManiaLivePlugins\eXpansion\Dedimania\Dedimania" 0.9.7...
[PluginHandler] Loading plugin "\ManiaLivePlugins\eXpansion\Widgets_DedimaniaRecords\Widgets_DedimaniaRecords" 0.9.7...
[LocalRecods]Fetching Server Ranks from Database !
registered Dedimania event!!
[PluginHandler] All registered plugins have been loaded
[eXpansion][Adm/AdminPanel][DediMania/Connection][Dedimania] Authentication success to dedimania server!
[eXpansion:AutoUpdate]Starting checking for update to Dedicated server Api !!

ERROR: Undefined variable: results
ERROR: Undefined variable: results
ERROR: Undefined variable: results
ERROR: Undefined variable: results
ERROR: Undefined variable: results
ERROR: Undefined variable: results
ERROR: Undefined variable: results
ERROR: Undefined variable: results
ERROR: Undefined variable: results
ERROR: Undefined variable: results
ERROR: Undefined variable: results
ERROR: Undefined variable: results
ERROR: Undefined variable: results
ERROR: Undefined variable: results
ERROR: Undefined variable: results


FOUND\n

and then over and over,

Code: Select all

ERROR: Undefined variable: output
ERROR: Undefined variable: output
ERROR: Undefined variable: output
ERROR: Undefined variable: output
ERROR: Undefined variable: output
ERROR: Undefined variable: output
ERROR: Undefined variable: output
ERROR: Undefined variable: output
ERROR: Undefined variable: output
ERROR: Undefined variable: output
ERROR: Undefined variable: output
ERROR: Undefined variable: output
ERROR: Undefined variable: output
ERROR: Undefined variable: output

which i assume, is caused here:

https://github.com/eXpansionPluginPack/ ... n.php#L161

I'll submitted a pull request which should remove the recurring error messages.


@reaby: Thx for your input!


greetz
nc1.eu - TMF, TM² and ShootMania servers with first class support, control panel, FTP access and more..!

Image https://nc1.eu/
Image http://facebook.com/nc1.eu/
:arrow: https://twitter.com/nc1eu/
oliverde8
Posts: 1286
Joined: 16 Jun 2010, 07:33
Location: in a Blue Box

Re: ERROR: Undefined variable: output

Post by oliverde8 »

Ooo, i understand the errors are caused by auto update. Waiting the next update you should disable the auto update and it should work fine.
Image
Developper for The next generation, Clean and Powerfull controller eXpansion for your SM & TM server . Working on eXpansion² with full MP4 support and many other awesome features...
Locked

Return to “eXpansion”

Who is online

Users browsing this forum: No registered users and 1 guest