The online racing simulator
Searching in All forums
(10 results)
PHPDeividas
Demo licensed
Quote from Dygear :What are the problems?

Parse error: syntax error, unexpected 'return' (T_RETURN), expecting function (T
_FUNCTION) in C:\modas\modules\prism_packets.php on line 201

I bet i doing something wrong i don't understand which is for windows..

Direct or relay

case sensitive ?

listen / dedi ??
PHPDeividas
Demo licensed
Quote from Dygear :Use that link above again and you'll get a working version of PRISM. I just did a quick run through with the patch that I just applied. From there you should click on the PRISM.bat script and it will start PRISM for you and you just have the answer questions to get it up and running.

never mind still have problemm thanks
PHPDeividas
Demo licensed
Quote from Dygear :Exactly this. You should redownload PRISM and start fresh.

This link includes that fix fr ... o you should use this one.

From there I would follow cargame's advice and extract it to a root directory in your C:/ drive.

Parse error: syntax error, unexpected 'return' (T_RETURN), expecting function (T
_FUNCTION) in C:\modas\modules\prism_packets.php on line 201
PHPDeividas
Demo licensed
Quote from Dygear :That's because you should not be doing that at all.


<?php 
!file_exists($logPath['C:\Users\Deividas\Desktop\insim']))
?>

Don't edit the code, it gets this information from the configuration file. You need to put that path in there.

it worked after that it asked me to ad plugins i selected some and when i returned

Parse error: syntax error, unexpected ')' in C:\modas\modules\prism_http.php on line 257

i added your line

!file_exists($logPath['C:\modas\logs']))

maybe u could create an tutorial?

P.S when deleted that line !file_exists($logPath['C:\modas\logs']))

and i tried to turn on again i get this error

Fatal error: require_once(): Failed opening required 'C:\modas/modules/prism_com
.php' (include_path='.;D:\xampp\php\PEAR') in C:\modas\PHPInSimMod.php on line 9
9
Last edited by PHPDeividas, .
PHPDeividas
Demo licensed
Quote from cargame.nl :Don't put/run PHP stuff in Program Files, it can be a locked environment for other programs to get direct access too. Esp. @Windows 7 and up.

changed and if (!isset($logPath['filename']) || $logPath['filename'] == '' || !file_exists($logPath['C:\Users\Deividas\Desktop\insim']))


still have probl
PHPDeividas
Demo licensed
Quote from Dygear :Ok, simple fix for that one is ...

console('The path to your log folder does not exist : '.$logPath['dirname']);

Change that line to that and it should work. I've also patched it on github.

You'll also want to fix the error it's reporting by making a log folder for PRISM to use.

That doesn't solve the problem

i have if (!isset($logPath['filename']) || $logPath['filename'] == '' || !file_exists($logPath['C:\Program Files\LFS\addons\logs']))
PHPDeividas
Demo licensed
Quote from Chriship :You dont have to pay to get support.

As long as you are using the demo content and not cracked shit I think everything is perfect.

We are not going to ask a money transaction

okay, i'm not really perfect in PHP but i'm really intresting in it that i see things is just wonderfull any suggestion where i can learn php better and easier? i order a book PHP learning but maybe only practice is good?
PHPDeividas
Demo licensed
Quote from Dygear :Ok, simple fix for that one is ...

console('The path to your log folder does not exist : '.$logPath['dirname']);

Change that line to that and it should work. I've also patched it on github.

You'll also want to fix the error it's reporting by making a log folder for PRISM to use.

Okay thinks, i will try it is it Demo racers still allowed to get support in Lfs forum i mean PHP threads
PHPDeividas
Demo licensed
Quote from Dygear :What's the error? What environment are you trying to start PRISM in? MAC? Windows? Linux?

I'm trying to start in Windows.


<?php 
PHP NOTICE
:
        Array 
to string conversion in C:\Users\Deividas\Desktop\LF\modules\prism
_http
.php on line 261
        1 
:: setLogFile in C:\Users\Deividas\Desktop\LF\modules\prism_http.php:1
75
        2 
:: initialise in C:\Users\Deividas\Desktop\LF\PHPInSimMod.php:166
        3 
:: initialise in C:\Users\Deividas\Desktop\LF\PHPInSimMod.php:42
The path to your log folder does not exist 
: Array
Fatal error encounteredExiting...
Safe shutdown11-22-13@18:51:51
?>


Hello about PRISM how to start
PHPDeividas
Demo licensed
Hello, didnt understand how to start PRISM on windows was looking for sulotion few days but still can't find how to start prism i make everything allright but when i try to start i keep getting error something with Log File maybe there is tutorial or something for it? because i would like to know and make my server thanks
FGED GREDG RDFGDR GSFDG