Hi,this is probably a stupid question, but:
I have created a PHP page to run some DB jobs that I run from a cron job.
For some reason I can’t run the actual page (like any other page) I just get a 404.
It was many years ago I did any PHP work, so what am I missing?
joeyk
October 9, 2022, 4:08pm
2
If you’d like to make additions to Mautic, you’ll ned to code it in Symfony.
If you want to ‘butcher’ your system, you can look at this plugin, and call your page from the ‘outside’:
Hey guys,
So we have built a plugin that allows you to add custom navigation items that load within frame or external pages.
My personal object was to be able to embed my commands which I use on the regular, but has a broader scope and flexibility to allow us to add any URL as an internal page or link to external resource.
Let me know your thoughts
https://github.com/TornMarketing/Mautic-Custom-Navlinks
20201015 - Mautic - Database Driven Custom Navigation
https://www.youtube.com/embed/Ya4…
You may need to update your htaccess file as it will most likely restricting the files.
# Except those allowed below.
<If "%{REQUEST_URI} =~ m#^/(index|index_dev|upgrade/upgrade)\.php#">
Order allow,deny
Allow from all
</If>
1 Like
Hi @tornmarketing , correct, It worked when I tried:
Many thanks.
system
Closed
October 11, 2022, 5:30pm
5
This topic was automatically closed 36 hours after the last reply. New replies are no longer allowed.