View more context

 

Jose

Hello, On a Virtualbox VM with Centos 7,

  1. if I do: $ sudo httpd -M |grep rewrite_module I get: rewrite_module (shared) 2.- If I browse index.php with the following code:

    1. <?php
    2. if (strpos(shell_exec('/usr/local/apache/bin/apachectl -l'), 'mod_rewrite') !== false) echo "mod_rewrite enabled";
    3. else echo "mod_rewrite disabled";
    4. ?>

    I get on browser: mod_rewrite disabled

  2. How can I resolve this discrepancy and have mod_rewrite enabled ?

  3. I followed tutorials to enable mod_rewrite, but the Centos 7 VM does not enable it. Any Idea? This is my last step to have SS4 working, I appreciate any advice. Thanks and regards

dorsetdigital

Have you tested to see if it's actually working on a webpage?

wmk

why don't you use a preconfigured VM for development? I can suggest the twistedbytes VM, it's afaik a centos based box, but I can be wrong

dorsetdigital

I'd have thought the latest fluent would be past that. 5.7 has been around for a while

wmk

See http://www.silverstrip.es/blog/fixing-mysql-5-7-troubles-easily/ There is even a SS4 fix, which does the same as your code. https://github.com/sunnysideup/silverstripe-mysql-5-7-fix/blob/master/_config.php#L9 I could bet there is a config for it

Show 1 attachment(s)
GitHub  
sunnysideup/silverstripe-mysql-5-7-fix

ANSI sans ONLY_FULL_GROUP_BY. This allows you to run Silverstripe projects on mysql5.7+ without constantly running into errors. - sunnysideup/silverstripe-mysql-5-7-fix

Hide attachment content
Aaron Cooper

Anyone know of a SS module for integrating with Xero for things like generating invoices? Or have you just used their PHP library direct?

theruss

(Ignore the 2nd result, the README only mentions Xero in passing)

theruss

You could look at how that module does things, or just search github for a PHP API consumer - https://github.com/xeroapi/

Show 1 attachment(s)
GitHub  
Xero Developer API

Xero Developer API has 40 repositories available. Follow their code on GitHub.

Hide attachment content