Search found 23 matches

by cut-n-paste
Mon Nov 18, 2024 12:52 pm
Forum: Community Help & Support
Topic: open_basedir error in edit module configuration
Replies: 6
Views: 3368

Re: open_basedir error in edit module configuration

Is likely to be a changed in the core file or will I need to do a system override?
by cut-n-paste
Mon Nov 18, 2024 11:40 am
Forum: Community Help & Support
Topic: open_basedir error in edit module configuration
Replies: 6
Views: 3368

Re: open_basedir error in edit module configuration

This works and looks a lot better.
by cut-n-paste
Mon Nov 18, 2024 10:59 am
Forum: Community Help & Support
Topic: open_basedir error in edit module configuration
Replies: 6
Views: 3368

Re: open_basedir error in edit module configuration

I get the same error on the core module admin > modules > header tags> No Index > Edit if I don't make the mod. I did a bit more research and it seems like DirectoryIterator does turn up . and .. by default, and so I suppose this is expected behaviour when my host has an open_basedir limit on my www...
by cut-n-paste
Mon Nov 18, 2024 10:10 am
Forum: Community Help & Support
Topic: open_basedir error in edit module configuration
Replies: 6
Views: 3368

open_basedir error in edit module configuration

I get the following error when trying to configure this holiday message module by raiwa . I have double checked my config and also done some basic debugging to check the value of DIR_FS_CATALOG etc. I am hosting on a shared host and I think this could be related to a symlinked www basedir. Fatal err...
by cut-n-paste
Wed Mar 06, 2024 3:49 pm
Forum: Community Help & Support
Topic: Insert column into table displayed in admin/customers.php
Replies: 6
Views: 2810

Re: Insert column into table displayed in admin/customers.php

Great that make sense and works. Just need to work out why this works for orders when it seems like it shouldn't!
by cut-n-paste
Wed Mar 06, 2024 11:40 am
Forum: Community Help & Support
Topic: Insert column into table displayed in admin/customers.php
Replies: 6
Views: 2810

Re: Insert column into table displayed in admin/customers.php

I checked the top 3 customers by clicking on edit and the company names are on that page. In the database the company info is stored in table address_book in column entry_company, baring in mind that almost the same code works for admin/orders.php
by cut-n-paste
Wed Mar 06, 2024 9:56 am
Forum: Community Help & Support
Topic: Insert column into table displayed in admin/customers.php
Replies: 6
Views: 2810

Insert column into table displayed in admin/customers.php

I have this working hook to add a column to the table displayed in admin/orders.php class hook_admin_orders_columnInject { public function listen_constructPaginator($paginator) { $GLOBALS['table_definition']['columns'][] = [ 'name' => "Company", 'class' => 'text-right', 'function' => funct...
by cut-n-paste
Wed Nov 08, 2023 2:44 pm
Forum: Community Help & Support
Topic: PHP 8.2 - Community Input
Replies: 35
Views: 45216

Re: PHP 8.2 - Community Input

Seems to me like IntlDateFormatter is mostly available or easy to enable as it's been built in since 5.3.0, according to the PHP documentation.

Phoenix Cart already has the MySQLi extension as a prerequisite.

@ecartz what am I missing here?
by cut-n-paste
Wed Nov 08, 2023 8:25 am
Forum: Community Help & Support
Topic: PHP 8.2 - Community Input
Replies: 35
Views: 45216

Re: PHP 8.2 - Community Input

ecartz burt This seems to be a quick fix for strftime() Make the following changes to /includes/system/versioned/1.0.8.3/date.php Replace function format() with this: EDIT: Added internationalisation with IntlDateFormatter() public function format($format) { if ($this->timestamp) { $dateFormat = Da...
by cut-n-paste
Thu Nov 02, 2023 7:18 pm
Forum: Community Help & Support
Topic: Adding support for PHP 8.1?
Replies: 19
Views: 18131

Re: Adding support for PHP 8.1?

@Pierre_P Read my edited post, then I think you can just replace

Code: Select all

strftime(STORE_PARSE_DATE_TIME_FORMAT)
with

Code: Select all

date(Date::strftimeToDateFormat(STORE_PARSE_DATE_TIME_FORMAT))