[Official BrainCMS] 1.4.0

Status
Not open for further replies.

SvenSalvatore

New Member
Dec 14, 2015
2
0
i dont know why but i got many many php errors and the header function can't redirect to index!


Code:
PHP Warning:  include(C:\inetpub\wwwroot/system/templates/brain/pages/index.php): failed to open stream: No such file or directory in C:\inetpub\wwwroot\system\app\classes\class.html.php on line 128
PHP Warning:  include(): Failed opening 'C:\inetpub\wwwroot/system/templates/brain/pages/index.php' for inclusion (include_path='.;C:\php\pear') in C:\inetpub\wwwroot\system\app\classes\class.html.php on line 128
PHP Notice:  Undefined variable: page in C:\inetpub\wwwroot\system\app\classes\class.html.php on line 169
PHP Notice:  Undefined variable: page in C:\inetpub\wwwroot\system\app\classes\class.html.php on line 170
PHP Notice:  Undefined variable: page in C:\inetpub\wwwroot\system\app\classes\class.html.php on line 171
PHP Notice:  Undefined variable: page in C:\inetpub\wwwroot\system\app\classes\class.html.php on line 172
PHP Notice:  Undefined variable: page in C:\inetpub\wwwroot\system\app\classes\class.html.php on line 173
PHP Notice:  Undefined variable: page in C:\inetpub\wwwroot\system\app\classes\class.html.php on line 174
PHP Notice:  Undefined variable: page in C:\inetpub\wwwroot\system\app\classes\class.html.php on line 175
PHP Notice:  Undefined variable: page in C:\inetpub\wwwroot\system\app\classes\class.html.php on line 176
PHP Notice:  Undefined variable: page in C:\inetpub\wwwroot\system\app\classes\class.html.php on line 177
PHP Notice:  Undefined variable: page in C:\inetpub\wwwroot\system\app\classes\class.html.php on line 178
PHP Notice:  Undefined variable: page in C:\inetpub\wwwroot\system\app\classes\class.html.php on line 179
PHP Notice:  Undefined variable: page in C:\inetpub\wwwroot\system\app\classes\class.html.php on line 180
PHP Notice:  Undefined variable: page in C:\inetpub\wwwroot\system\app\classes\class.html.php on line 181
PHP Notice:  Undefined variable: page in C:\inetpub\wwwroot\system\app\classes\class.html.php on line 182
PHP Notice:  Undefined variable: page in C:\inetpub\wwwroot\system\app\classes\class.html.php on line 183
PHP Notice:  Undefined variable: page in C:\inetpub\wwwroot\system\app\classes\class.html.php on line 184
PHP Notice:  Undefined variable: page in C:\inetpub\wwwroot\system\app\classes\class.html.php on line 185
PHP Notice:  Undefined variable: page in C:\inetpub\wwwroot\system\app\classes\class.html.php on line 186
PHP Notice:  Undefined variable: page in C:\inetpub\wwwroot\system\app\classes\class.html.php on line 187
PHP Notice:  Undefined variable: page in C:\inetpub\wwwroot\system\app\classes\class.html.php on line 190
 

JoeriLowl

New Member
Nov 6, 2013
7
0
Now when the client is 100% he reload the page .. Can someone just give some support via skype? Add me Xth-boyX
 

Scope9674

New Member
Jan 19, 2013
13
1
Now when the client is 100% he reload the page .. Can someone just give some support via skype? Add me Xth-boyX
Dude i use the emulator for another cms, and it works. I had the same problem with the client on this cms !
What dont work are the SWF'S - Habbo.SWF ! The PlusEmulator works : - )
 

jcoatsy1212

New Member
Dec 29, 2016
3
1
I've been using this cos for a little while now, love it, had to translate the hk and some pages didn't work at all but overall 7/10

Sent from my HTC One A9 using Tapatalk
 

Alezo

Member
Dec 18, 2016
90
10
Hello, it is possible that can be created, within the Administrative Panel. A page to add and remove emblems?

Thank you.
 

F.A.P

New Member
Jan 7, 2012
4
3
How do you suggest to get a global variable instead of using
PHP:
global $eg;

Sent from my SM-G928F using Tapatalk

Its pretty easy pass the variable as a Parameter i.e.

PHP:
$eg = 1;

class Example 
{
   public function  __constructor($eg)
   {
       $this->eg = $eg;
   }

}
 

MayoMayn

BestDev
Oct 18, 2016
1,423
683
Its pretty easy pass the variable as a Parameter i.e.

PHP:
$eg = 1;

class Example 
{
   public function  __constructor($eg)
   {
       $this->eg = $eg;
   }

}
I figured it out long time ago, but thanks anyway

Sent from my SM-G928F using Tapatalk
 

Elijah

<?php die($you);
Mar 2, 2013
12
6
Its pretty easy pass the variable as a Parameter i.e.

PHP:
$eg = 1;

class Example
{
   public function  __constructor($eg)
   {
       $this->eg = $eg;
   }

}

I figured it out long time ago, but thanks anyway

Sent from my SM-G928F using Tapatalk

Or you could use the $GLOBALS parameter in PHP as set out in the PHP documentation ( )

But passing as a parameter is better (in many cases) :)
 

MayoMayn

BestDev
Oct 18, 2016
1,423
683
Or you could use the $GLOBALS parameter in PHP as set out in the PHP documentation ( )

But passing as a parameter is better (in many cases) :)
Yeah I researched it, and read that the $GLOBALS will be deprecated somehow in the near future, and that dependency injections was the fastest.

I didn't know, because I didn't bother to research it, when it worked perfectly, but when I got told it was deprecated, I just switched, and that is how you actually learn stuff, lol
 

F.A.P

New Member
Jan 7, 2012
4
3
Yeah I researched it, and read that the $GLOBALS will be deprecated somehow in the near future, and that dependency injections was the fastest.

I didn't know, because I didn't bother to research it, when it worked perfectly, but when I got told it was deprecated, I just switched, and that is how you actually learn stuff, lol

Glad you learnt it, many people use outdated software because it works, but just because it works doesn't mean its Secure or Fast (or atleast achieve its potential).
 

Alezo

Member
Dec 18, 2016
90
10
Gux5q3P.png
 
Status
Not open for further replies.

Users who are viewing this thread

Top