Welcome to the webinterface for the SilverStripe Users slack channel archive. Because Slack doesn't give us the full history on a free workspace, this is where the full history is searchable.

Browse or search the archive via the Archive page. The channels list on the right show the channels available. Search via the form on the top left, or on a mobile device, opening the menu, as well as on the form on the archive pache.

Greyed out channels are archived channels in Slack. The messages themselves are readable and searchable, but the channels are disabled on Slack.

Log in with Slack to favourite messages, and download attachments directly from the website instead of opening Slack.

 

Most recent messages

chillu

Any word on the talk recordings? The FOMO is strong here! 😄

nightjarnz

but I'm 100% not sure that'd help you out, so it's really just a pointer :)

nightjarnz

I think the general answer for SS4 would be use "ManyManyThrough" instead

BaronGrivet

Speaking of which: https://stackoverflow.com/questions/58533404/problem-with-many-many-relationship-with-silverstripe-fluent

Show 1 attachment(s)
Stack Overflow  
Problem with many_many relationship with Silverstripe Fluent

We are working on a Silverstripe project using Fluent to show multiple translations/ locales. We want to setup some of our data objects so records can be toggled to only show in some Fluent Locale...

Hide attachment content
adrianstein

`Use of uninitialized value $cwd in string ne at /var/cpanel/ea4/ea_php_cli.pm line 329.1 is the error

Jose

Hello @Aaron Cooper these are the only 2 occurrences in info.php url_rewriter.hosts no value no value url_rewriter.tags form= form= What should I do? Thanks

Aaron Cooper

there's nothing on the page for "mod_rewrite"?

Jose

No only shown with httpd -M rewrite_module (shared)

Aaron Cooper

https://arjunphp.com/enable-configure-mod_rewrite-apache-centos-7/

Show 1 attachment(s)
Arjun  
Enable and Configure mod_rewrite for Apache on CentOS 7 - Arjun

The mod_rewrite module is enabled by default on CentOS 7. If you find it is not enabled on your server, you can enable it by editing 00-base.conf file located in /etc/httpd/conf.modules.d/ directory. Add or uncomment the following line: Save and close the file, then restart the httpd service: Once the mod_rewrite module has been activated, …

Hide attachment content
Aaron Cooper

Most likely it's not enabled on the conf file the site is using

Jose

Thanks Aaron for your time, I just checked the file and the line with mod_rewrite.so is already there uncommented. I spent hours with that problem, I saw that file several hours ago, I remember now. I do not know what else to do, sorry.

Jose

Apache yes many times, FPM once when I installed, I will restart FPM again now...

Jose

Several hours ago I disabled SELinux that was blocking FPM, now I restarted FPM again:

sestatus

SELinux status: disabled

systemctl enable rh-php72-php-fpm.service

systemctl start rh-php72-php-fpm.service

scl enable rh-php72 bash

systemctl restart httpd

Am I missing something? Thanks


Show less replies
Aaron Cooper
  1. "autoload": {
  2. "classmap": [
  3. "app/src/Page.php",
  4. "app/src/PageController.php"
  5. ],
  6. "psr-4": {
  7. "Company\\MyNameSpaceForOtherStuff\\": "app/src/"
  8. }
  9. },
adrianstein

I assume by Company\\MyNameSpaceForOtherStuff it would be my namespace for the rest of my files?

adrianstein

Might have fixed it. Still doesnt work but get some other error

adrianstein

Use of uninitialized value $cwd in string ne at /var/cpanel/ea4/ea_php_cli.pm line 329.1 is the error

adrianstein

@Aaron Cooper would that change affect other places where I have got Use Page; in other NSs

muskie9

in recent experience... cpanel + SS(4) == blah

muskie9

not cpanel specific, but the cpanel hosts specifically... just a pain in our experience

Aaron Cooper

Well it would affect anything using Page in that it can be found

Aaron Cooper

Page and PageController are in the global scope

adrianstein

so instead of using use Page; do I now go use App\website\Page;?

Aaron Cooper

No not at all. use Page or extends /Page.

adrianstein

cause after that I have a similar thing that an extend of page cant be found

adrianstein

HP Fatal error: Uncaught InvalidArgumentException: Page references nonexistent OGMetadataPageExtension in 'extensions' in /home/nd/public_html/vendor/silverstripe/framework/src/Core/Config/Middleware/ExtensionMiddleware.php:70

adrianstein

similar but not the same. That extension does extend page tho

adrianstein

`Page: extensions:

  • App\OGMetaData\OGMetadataPageExtension`
adrianstein

do I need a similar autoload thing in all oter modules that come in from composer?

adrianstein

as this is in a custom module and not the main thing

Aaron Cooper

OK. This looks like a namespacing problem and different to your original problem. That error means that the extension cannot be found via that namespace

adrianstein

"autoload": { "psr-4": { "App\OGMetaData\": "src/" }

adrianstein

@Aaron Cooper looks like another new one. now its PHP Warning: Module 'ffmpeg' already loaded in Unknown on line 0

adrianstein

but that is a warning and not an error, plus I can see it in the logs here and there so dont tihnk it matters

adrianstein

scrap that. Got the other one again. didnt refresh my log file 😛

adrianstein

@Aaron Cooper setting my to SS_ENVIRONMENT_TYPE = "test" from = "live" in my .env and loads the site


Show less replies