Home
Forums
Members
Search
Help
New topics
Todays topics
Website
Welcome Guest, Not a member yet?
Register
Sign In
Login
Username:
Password:
Remember me
Lost Password?
CodeIgniter Forums
Using CodeIgniter
General Help
cant set migration config value
Share on Google
Share on Facebook
Share on Twitter
View a Printable Version
Subscribe to this thread
Add Poll to this thread
Send thread to a friend
Linear Mode
Threaded Mode
cant set migration config value
Goddard
Junior Member
Posts:
47
Threads:
11
Joined:
Oct 2019
Reputation:
0
#1
10-28-2019, 05:35 AM
What would be the reason I can't call set_item on the migration version number?
Reply
php_rocs
Administrator
Posts:
1,410
Threads:
98
Joined:
Jun 2016
Reputation:
72
#2
10-28-2019, 08:22 AM
@
Goddard
,
What error message are you seeing when you try to call it (we need more information)? Are you just asking a question?
Reply
Goddard
Junior Member
Posts:
47
Threads:
11
Joined:
Oct 2019
Reputation:
0
#3
10-28-2019, 11:13 AM
(This post was last modified: 10-28-2019, 11:14 AM by
Goddard
.)
It doesn't give me an error. It just doesn't set the config value. I checked file permissions and they are wide open on my dev system.
Am allowed to write to the migrations.php config file with $this->config->set_item('migration_version', 23); ...?
Reply
php_rocs
Administrator
Posts:
1,410
Threads:
98
Joined:
Jun 2016
Reputation:
72
#4
10-29-2019, 01:23 AM
@
Goddard
,
Did you check the error logs?
Reply
Goddard
Junior Member
Posts:
47
Threads:
11
Joined:
Oct 2019
Reputation:
0
#5
10-30-2019, 07:39 AM
I get no output error in development environment and no input in the code igniter logs, or apache logs. It just does nothing.
Reply
Goddard
Junior Member
Posts:
47
Threads:
11
Joined:
Oct 2019
Reputation:
0
#6
11-04-2019, 06:16 AM
Can you perhaps show me an example of you writing a migration file and you test it out in code igniter 3?
Reply
--------------------
Private Messages
User Control Panel
Who's Online
Search
Forum Home
General
-- News & Discussion
-- Events
-- Lounge
-- Regional User Groups
Using CodeIgniter
-- Installation & Setup
-- Model-View-Controller
-- Libraries & Helpers
-- Best Practices
-- Choosing CodeIgniter
-- General Help
CodeIgniter 4
-- CodeIgniter 4 Roadmap
-- CodeIgniter 4 Development
-- CodeIgniter 4 Feature Requests
-- CodeIgniter 4 Support
-- CodeIgniter 4 Discussion
-- CodeIgniter 4 Addins
Development
-- CodeIgniter 3.x
-- CodeIgniter 2.x
-- Issues
-- NetBeans Plugin
External Resources
-- Spotlight
-- Learn More
-- Jobs
-- Addins
Archived Discussions
-- Archived Libraries & Helpers
-- Archived Development & Programming
Theme © iAndrew 2016 -
Forum software by © MyBB