Subject:*
<
Name/Email:*
<
Message Icon:*
<
Select*
<
Message:*
<



Click the Preview to see the content in action.
Options:*
<
Confirmation Code*
<
8 + 9 = ?  
Input the result from the expression
Maximum attempts you can try: 10
*
<
     

Re: Failed writing constants?
by PolySons on 2005/6/9 13:32:55

OK. Fixed myself with the version 2.0.10 in french (download from frxoops).

To be corrected by the webmaster who install xoops:

[edit] /html/.htaccess

[add] at the end

php_value allow_call_time_pass_reference 1

[/edit] /html/.htaccess


[rename] /html/class/smarty/smarty.class.php

new name: Smarty.class.php

[/rename] /html/class/smarty/smarty.class.php


[rename] /html/class/smarty/smarty_compiler.class.php

new name: Smarty_Compiler.class.php

[/rename] /html/class/smarty/smarty_compiler.class.php


Remark to the developpers: why use big letters in file names ? My ftp software convert big letters into small letters and it give troubles. Can you please correct it for futures versions ???

Thanks a lot for all you help, it was nice
Re: Failed writing constants?
by PolySons on 2005/6/9 4:31:25

I've now corrected the file name "smarty.class.php" in "Smarty.class.php". The errors above are corrected, but...

I have now those errors

Quote:

Notice [PHP]: Undefined index: enable_badips in file class/xoopssecurity.php line 210
Notice [PHP]: Undefined index: language in file include/common.php line 139
Notice [PHP]: Undefined index: use_ssl in file include/common.php line 163
Notice [PHP]: Undefined index: use_mysession in file include/common.php line 165
Notice [PHP]: Undefined index: theme_fromfile in file class/template.php line 71
Notice [PHP]: Undefined index: debug_mode in file include/common.php line 214
Warning [PHP]: in_array(): Wrong datatype for second argument in file include/common.php line 214
Notice [PHP]: Undefined index: closesite in file include/common.php line 219
Notice [PHP]: Undefined index: theme_set in file class/template.php line 319
Notice [PHP]: Undefined index: theme_set in file class/template.php line 319
Notice [PHP]: Undefined index: sitename in file class/template.php line 219
Notice [PHP]: Undefined index: slogan in file class/template.php line 220
Notice [PHP]: Undefined index: slogan in file class/template.php line 239
Notice [PHP]: Undefined index: theme_set in file include/functions.php line 381
Notice [PHP]: Undefined index: use_mysession in file include/functions.php line 393
Notice [PHP]: Undefined index: theme_set in file class/template.php line 329
Notice [PHP]: Undefined index: theme_set in file class/template.php line 330
Notice [PHP]: Undefined index: theme_set in file class/template.php line 331
Notice [PHP]: Undefined index: theme_set in file include/functions.php line 444
Notice [PHP]: Undefined index: theme_set in file class/template.php line 332
Notice [PHP]: Undefined index: theme_set in file include/functions.php line 444
Notice [PHP]: Undefined index: theme_set in file include/functions.php line 444
Notice [PHP]: Undefined index: theme_set in file class/template.php line 333
Notice [PHP]: Undefined index: theme_set in file include/functions.php line 444
Notice [PHP]: Undefined index: theme_set in file class/template.php line 348
Notice [PHP]: Undefined index: language in file class/template.php line 350
Warning [Xoops]: Smarty error: unable to read resource: "db:system_redirect.html" in file class/smarty/Smarty.class.php line 1084
Notice [PHP]: Undefined index: theme_set in file class/template.php line 387
Warning [Xoops]: Smarty error: unable to read resource: "/theme.html" in file class/smarty/Smarty.class.php line 1084
Notice [PHP]: Undefined index: debug_mode in file footer.php line 59
Warning [PHP]: in_array(): Wrong datatype for second argument in file footer.php line 59


I try a day again with 2.1.1 and than I will try with the 2.0.10...
Re: Failed writing constants?
by PolySons on 2005/6/9 4:28:14

Thank you mOnty,

the first errors are corrected with this modification. But y always have those errors:

Quote:

Fatal error: main(): Failed opening required '/home/www/343819fdd19cdecc55ef72cb7b8745af/web/class/smarty/Smarty.class.php' (include_path='.:/opt/php/lib/php') in /home/www/343819fdd19cdecc55ef72cb7b8745af/web/class/template.php on line 38
Notice [PHP]: Undefined index: enable_badips in file class/xoopssecurity.php line 210
Notice [PHP]: Undefined index: language in file include/common.php line 139
Notice [PHP]: Undefined index: use_ssl in file include/common.php line 163
Notice [PHP]: Undefined index: use_mysession in file include/common.php line 165
Warning [PHP]: main(/home/www/343819fdd19cdecc55ef72cb7b8745af/web/class/smarty/Smarty.class.php): failed to open stream: No such file or directory in file class/template.php line 38


Thank you if you find a solution !

Errors can be seen live at
http://www.polysons.ch

Didier, polysons.ch
Re: Failed writing constants?
by m0nty on 2005/6/8 14:35:48

try adding this line to a .htaccess file located in your XOOPS root folder

php_value allow_call_time_pass_reference 1
Re: Failed writing constants?
by PolySons on 2005/6/8 12:05:35

Hello Mithrandir,

Thank you for the help. I've downloaded XOOPS today and tryed to install. I have the same error as above:
- Failed writing constant 0.
- Failed writing constant 1.

BUT: when I've made the definition of the admin (name, e-mail and 2x the password), I become a white blank page without any information. Than I'm trying to open my website and... i've receiving a lot of errors, like:

Warning: Call-time pass-by-reference has been deprecated - argument passed by value; If you would like to pass it by reference, modify the declaration of [runtime function name](). If you would like to enable call-time pass-by-reference, you can set allow_call_time_pass_reference to true in your INI file. However, future versions may not support this any longer. in /home/www/343819fdd19cdecc55ef72cb7b8745af/web/kernel/module.php on line 1139

Fatal error: main(): Failed opening required '/home/www/343819fdd19cdecc55ef72cb7b8745af/web/class/smarty/Smarty.class.php' (include_path='.:/opt/php/lib/php') in /home/www/343819fdd19cdecc55ef72cb7b8745af/web/class/template.php on line 38
Notice [PHP]: Undefined index: enable_badips in file class/xoopssecurity.php line 210
Notice [PHP]: Undefined index: language in file include/common.php line 139
Notice [PHP]: Undefined index: use_ssl in file include/common.php line 163
Notice [PHP]: Undefined index: use_mysession in file include/common.php line 165
Warning [PHP]: session_start(): Cannot send session cache limiter - headers already sent (output started at /home/www/343819fdd19cdecc55ef72cb7b8745af/web/kernel/profile.php:71) in file include/common.php line 178
Warning [PHP]: main(/home/www/343819fdd19cdecc55ef72cb7b8745af/web/class/smarty/Smarty.class.php): failed to open stream: No such file or directory in file class/template.php line 38

Have someone an idea ?

You can try the website here: http://www.polysons.ch

Thank you in advance and... sorry for my poor english. My motherlanguage is french

Didier, PolySons.ch

Who's Online

164 user(s) are online (120 user(s) are browsing Support Forums)


Members: 0


Guests: 164


more...

Donat-O-Meter

Stats
Goal: $15.00
Due Date: Jul 31
Gross Amount: $0.00
Net Balance: $0.00
Left to go: $15.00
Make donations with PayPal!

Latest GitHub Commits