420 questions
0
votes
0
answers
100
views
How to merge string to an array?
I tried to merge string into twig array but it will show the last same value for all index. What's the proper way to merge a string to an array?
{% set projectArray = [] %}
{% set projectTitleArray = [...
0
votes
0
answers
105
views
How to retrieve value from the migrations and display them
I used this for my migrations.
<?php
use Anomaly\Streams\Platform\Database\Migration\Migration;
class SnipcartModuleProductsCreateProductsFields extends Migration
{
/**
* The addon ...
0
votes
0
answers
66
views
How do I get block details in a Pyro CMS twig file?
The url contains a block id, such as this domain/playlist/PLQB0d-uOBCP2vyGFcj3nw252x9CtupDH1/{blockid}. How do I get all of the information from the block id into the twig file?
1
vote
1
answer
52
views
How to join two tables in Pyrocms
I am new to pyrocms, I want to join two tables in pyrocms.
My two tables are milege and products. How to join this two table in pyrocms
What I have tried is:
{% set table_data=query().from('milege)....
0
votes
1
answer
286
views
Installing PyroCMS error when installing in xampp (windows)
I am getting below error after downloading the package:
**In MigrateCommand.php line 58:
Too few arguments to function Illuminate\Database\Console\Migrations\MigrateCommand::__construct(), 1 passed ...
1
vote
1
answer
86
views
How to store Contact form data in Database in PyroCMS 3.x
How do I store the data in the Database for a website using pyrocms.
I currently use the contact plugin and need to store the data in mysql.
If anyone has done this, I would appreciate the help!
-1
votes
1
answer
198
views
PyroCms is throwing Error 500 when I add a repeater
Issue
I get a Errror 500 when I add new to the repeater field (with admin pages).
I cant find how to resolve this, has anyone experienced this issue ?
System
PyroCMS 3.7
Php 7.3
Homestead
Background
...
1
vote
2
answers
2k
views
Uncaught TypeError: $(...).live is not a function
I am using jquery 1.10.2 and I'm having Uncaught TypeError: $(...).live is not a function. I'm using Codeigniter for development with pyrocms. Below I have written the code:-
public static function ...
0
votes
3
answers
99
views
Skip csrf verification in pyrocms
I need to skip csrf verification for one of my endpoint. So I add that route to $except array in Anomaly\Streams\Platform\Http\Middleware\VerifyCsrfToken like this,
protected $except = [ "/payments/...
0
votes
0
answers
190
views
PyroCMS 404 when trying to run "installer" URL on MAMP
I'm trying to install PyroCMS on MAMP 5.2
I've created a directory for the installation at /Applications/MAMP/htdocs/pyrocms then used Composer to install it:
composer create-project pyrocms/pyrocms
...
0
votes
0
answers
804
views
SQLSTATE[HY000]: General error: 21 bad parameter or other API misuse - in pyrocms
I'm developing a web site on pyrocms and it worked fine on my laptop (WAMP environment). But it gives me an error SQLSTATE[HY000]: General error: 21 bad parameter or other API misuse when I try this ...
0
votes
1
answer
2k
views
Laravel Session Cookie Expiry Changing
I am running into a problem when my Laravel session-cookie changes expiry time each time I refresh and often expires after 2x refreshes.
I think the expected functionality is for it to expire x ...
0
votes
1
answer
243
views
Swift_TransportException when when user register
I'm building my website using PyroCMS and it gives me an error when user submit his/her register form.
Swift_TransportException
Process could not be started [The system cannot find the path specified....
1
vote
2
answers
185
views
Laravel/PyroCMS Webserver and PHP Composer Permissions
Could anyone help me with some unix permission stuff? I’ve been struggling with it for months now and can’t get it quite right.
My web server is running as www-data in the www-data group and I do my ...
0
votes
1
answer
121
views
PyroCMS(Laravel) where clause within the translations not working correctly
I have been struggling with this for quite a while. I use PyroCMS and it has a Posts module that has all the fields in the database and all that and if you want to find a specific post, you can just ...