Comments (18)
Yeah, same problem I ran into. I have never seen the unserialize method used so I'm not sure about a fix. It's basically saying that it ran into some bad data while trying to unserialize. I can't figure out why or proper steps to debug since the Model objects are so large
from ticketit.
It was working fine 1 hour ago, so I don't think its related to the authenticated users as its now happening to all admin,agent and user,
The only things I have changed in the last hour is: delete all my Statuses and Removed all Agents via admin UI, I then re-added some Statuses and Agents and the auto incrementing MySQL IDs are higher - Statuses now start a #7 instead of the original #1 - I recalled seeing something in the code about #1 being the default assigned to new tickets - might be something worth looking at.
from ticketit.
Can you try removing {!! Form::hidden('agent_id', 'auto') !!} from the ticket create form and tell me if it fixes it? That's the only change to the repo
from ticketit.
Confirmed: reset first SQL row for Statuses to ID 1 and it worked, the email sent fine.
from ticketit.
Did you update
'default_status_id' => 1, in config?
from ticketit.
If an improper value is set there, it may be the cause of all serialize problems. Please confirm! :)
from ticketit.
My 'default_status_id' => 1,
but my database rows started at 7 because I deleted all my statuses earlier tonight
from ticketit.
If you change back to 7 and change config to 7, does it also still work?
from ticketit.
I just tried, changed both config and DB to 7 and the email worked.
than just to check again I changed config to random number of 4 left DB at 7 and it crashed while trying to submit new ticket
from ticketit.
Perfect. Now we know what causes it! I'll throw that into a common problems area somewhere.
from ticketit.
from ticketit.
This config is growing quiet large for a config, I'd have to agree on the admin panel. Plus if we have an admin config table, we can control the IDs going in and out for default status via relationships.
from ticketit.
Added to wiki for now until 0.3 or 0.4:
https://github.com/thekordy/ticketit/wiki/Common-problems
from ticketit.
You could do a similar crud for language localizations, just not too sure what impact is would have on performance with all those extra queries - I did found a nice package that will scan files for trans() and automatically import these into the database for editing the text values.
https://github.com/barryvdh/laravel-translation-manager
from ticketit.
We can always Cache the database results for 1 month and make the "Save" button in the admin console flush the cache.
from ticketit.
This has the added benefit of migrations essentially allowing us to version control our config
from ticketit.
Welcome to the team btw Fishmad!
from ticketit.
I did found a nice package that will scan files for trans() and automatically import these into the database for editing the text values.
https://github.com/barryvdh/laravel-translation-manager
@fishmad It looks promising, We can give it a testing round and find if it integrates smoothly and if it is easy to use. then we can implement it in the same version with admin panel upgrade
We can always Cache the database results for 1 month and make the "Save" button in the admin console flush the cache.
@fusiondesign for the config settings, I think it won't be that much load as we can use only one query to load all settings, but I am not sure about the translation panel, does it load translations from database for front-end? or it just for translation modifications then it exports changes back to the translation files?
from ticketit.
Related Issues (20)
- Feature Request: Turn off reply-to email of agent
- Multiguard integration HOT 1
- How to localize ticketit HOT 1
- Email feature
- how to run ticket app on browser after installation , i executed php artisan ticketit:install and php artisan serve i am getting this site cant be reached on localhost:8000
- Graphics error HOT 2
- Error when install package HOT 3
- Webhook support
- kordy.info domain seems not reachable HOT 1
- composer require 'kordy/ticketit:0.*' HOT 2
- How can I enable the localization feature?
- Unable to complete Installation Process HOT 3
- Does the pacakge offer APIs? HOT 2
- Make sure that App\User exists HOT 1
- installation failed and showing below mentioned error
- Bootstrap 5
- E-Mail Function is not Working
- Use with Jetstream HOT 1
- laravel and php version
- Authenticated Remote Code Execution via Insecure Deserialization
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from ticketit.