• Plesk Uservoice will be deprecated by October. Moving forward, all product feature requests and improvement suggestions will be managed through our new platform Plesk Productboard.
    To continue sharing your ideas and feedback, please visit features.plesk.com

Syntax error on line 92 of domain.com/conf/xxxx.xxx_httpd.include

H

Harry Weinert

Guest
Hello all,

I have been trawling through this forum to try and fix the many error messages I seem to be getting every night when the server tries to reconfigure itself.

So far i'm stuck at this point:

when i run: httpdmng --reconfigure-domain udf2.com
I get this: Syntax error on line 92 of /var/www/vhosts/udf2.com/conf/13340601110.43160500_httpd.include: php_admin_value takes two arguments, PHP Value Modifier (Admin)

if I look at line 92 of that file I see this: php_admin_value output_buffering ""

I dare not delete that whole line, however I did attempt to delete the whole httpd.include file once, and plesk apparently regenerated it with a slightly different number and then gave me the exact same error message!

Here's the full log of the error I get:

# /usr/local/psa/admin/bin/httpdmng --reconfigure-domain udf2.com
PleskUtilException: '/usr/local/psa/admin/bin/apache-config' '-t' failed with code .

stdout:


stderr:
Syntax error on line 92 of /var/www/vhosts/udf2.com/conf/13340601110.43160500_httpd.include:
php_admin_value takes two arguments, PHP Value Modifier (Admin)

file: /usr/local/psa/admin/plib/Service/Agent/Transport/Local/Exec.php
line: 71
code: 0
trace: #0 /usr/local/psa/admin/plib/Service/Agent/Transport/Local.php(58): Service_Agent_Transport_Local_Exec->process(2, Object(Service_Agent_Command_Exec), Object(Service_Agent_Log), Object(Service_Agent_Transport_LocalTransaction))
#1 /usr/local/psa/admin/plib/Service/Agent/Transport/Local.php(24): Service_Agent_Transport_Local->_command(2, Object(Service_Agent_Command_Exec), Object(Service_Agent_Transport_LocalTransaction), Object(Service_Agent_Log))
#2 /usr/local/psa/admin/plib/Service/Agent.php(133): Service_Agent_Transport_Local->process('20c90b7d4a7790d...', Array, Object(Service_Agent_Log))
#3 /usr/local/psa/admin/plib/Template/Writer/Apache.php(58): Service_Agent->commit()
#4 /usr/local/psa/admin/plib/Template/Configuration/Applier.php(196): Template_Writer_Apache->test()
#5 /usr/local/psa/admin/plib/Template/Configuration/Applier.php(117): Template_Configuration_Applier->_applyConfigurationsToServiceNode(1, Array)
#6 /usr/local/psa/admin/plib/WebServerManager/Adapter/Apache.php(125): Template_Configuration_Applier->applyConfiguration(true)
#7 /usr/local/psa/admin/plib/WebServerManager/Adapter/Apache.php(408): WebServerManager_Adapter_Apache->sync()
#8 /usr/local/psa/admin/plib/WebServerManager.php(287): WebServerManager_Adapter_Apache->reconfVhost('udf2.com', true)
#9 /usr/local/psa/admin/plib/api-common/Httpdmng.php(131): WebServerManager->reconfVhost('udf2.com')
#10 /usr/local/psa/admin/sbin/httpdmng(13): Httpdmng->__construct()
#11 {main}

2012-04-10T13:15:12+01:00 ERR (3): Apache config (13340601110.43160500) generation failed: Syntax error on line 92 of /var/www/vhosts/udf2.com/conf/13340601110.43160500_httpd.include:
php_admin_value takes two arguments, PHP Value Modifier (Admin)

Syntax error on line 92 of /var/www/vhosts/udf2.com/conf/13340601110.43160500_httpd.include:
php_admin_value takes two arguments, PHP Value Modifier (Admin)

any ideas how to fix this one?

I should mention that these errors started appearing ever since I upgraded to Plesk 10 from 9. and then again to plesk 10.4.4

Thanks.
 
Back
Top