sjshaffer
Forum Replies Created
-
You are correct in that a namespace declaration can not be instantiated inside the class definition.
Has the team checked to make sure that all class instantiations are within the namespace? There seems to be at least one instance outside the namespace.
Alternately, including the files inside the class definition achieves the same goal but causes the libraries to be loaded for each new object instance.HI,
Yes, I’m up and have recoded everything around DCE, and disabled it, thus rendering the HttpGuzzle library they included unavailable. It has been a painful few days of work.
I’m not a PHP expert by any stretch but is it possible in ListService.php to place the use statements in a method (probably a constructor) of ListService ? That way the functions are inside the class and not subject to being over written.- This reply was modified 3 years, 10 months ago by sjshaffer.
Forum: Installing WordPress
In reply to: Method Not Implemented POST to /wp-admin/post.php not supported.It may be that your site is using mod_security2 instead of mod_security
If that is the case then the SecRuleInhertiance Off must be set in the virtual host declaration and can not be set in .htaccess
I created a second virtual host in /etc/httpd/conf/httpd.conf
<Virtual Host *:80>
ServerAlias administrator.website.com
ServerAdmin [email protected]
DocumentRoot /var/www/html/website.com/
SecRuleInheritance Off
ErrorLog logs/website_admin.net-error_log
CustomLog logs/website_admin.net-access_log common
Options -Indexes ...
</VirtualHost>
Forum: Installing WordPress
In reply to: Method Not Implemented POST to /wp-admin/post.php not supported.It may be that your site is using mod_security2 instead of mod_security
If that is the case then the SecRuleInhertiance Off must be set in the virtual host declaration and can not be set in .htaccess
I created a second virtual host in /etc/httpd/conf/httpd.conf
<Virtual Host *:80>
ServerAlias administrator.website.com
ServerAdmin [email protected]
DocumentRoot /var/www/html/website.com/
SecRuleInheritance Off
ErrorLog logs/website_admin.net-error_log
CustomLog logs/website_admin.net-access_log common
Options -Indexes …
</VirtualHost>Forum: Installing WordPress
In reply to: Method Not Implemented POST to /wp-admin/post.php not supported.I’m having a similar problem with a Joomla website.
So far I’ve modified .htaccess to
Options All Mulitviews
<Limit POST GET OPTIONS>
Order Allow,Deny
Allow all
</Limit>
But that hasn’t worked. I’m guessing now that there may be a change required to php.iniIf you find the answer please post here.