Fraid I can't shed any light on this, and I feel bad even suggesting this, but if you are in a big rush to get this out the door, why don't you just create the field in your table?
Though this is a horrible solution, it is still a solution...
cgoosey1 said:
Fraid I can't shed any light on this, and I feel bad even suggesting this, but if you are in a big rush to get this out the door, why don't you just create the field in your table?
Though this is a horrible solution, it is still a solution...
I have thought about that. It is horrible, but I do have a deadline...
check, if your production site has mysql pdo enabled.
just create .php page and add
<?php
echo phpinfo();
Ha! Good one! The live server is running in nginx under hiphop, and the dev is apache.
Does anyone have and advice about deployment on HipHop?
Also, it's only on a save when creating a new record. Updating the records works fine.
And, for the completeness, here's the save code in one of my models:
public function save(array $options = [])
{
$this->locale = \Input::get('locale');
$this->title = \Input::get('alias');
$this->title = \Input::get('title');
$this->content = \Input::get('content');
$validator = \Validator::make($this->attributes, static::$rules, static::$messages);
if ($validator->fails()) {
$this->errors = $validator->messages();
return false;
} else {
parent::save($options);
return true;
}
}
cgoosey1 said:
Fraid I can't shed any light on this, and I feel bad even suggesting this, but if you are in a big rush to get this out the door, why don't you just create the field in your table?
Though this is a horrible solution, it is still a solution...
This does work as a stopgap.
Not the most elegant stopgap, it might be worth making another topic or renaming this one (dunno if you can) to highlight its a hiphop production problem
Good luck!
cgoosey1 said:
Not the most elegant stopgap, it might be worth making another topic or renaming this one (dunno if you can) to highlight its a hiphop production problem
Good luck!
Thanks, I'll do that.
Sign in to participate in this thread!
The Laravel portal for problem solving, knowledge sharing and community building.
The community