8 users online. Create an account or sign in to join them.Users
MySQL cant connect and Blueprints -> Pages Missing Children Column
This is an open discussion with 10 replies, filed under General.
Search
These are settings in your config.php file. To enable this behaviour, set pages_table_nest_children to yes.
I'm not sure about your exact setup, but the config.php is ignored by git by default, so the whole config.php will need to copied over (and changed) on your production server to start with.
It's up to you how you want to continue managing this as you continue to push, everyone has different strategies. At work we follow this approach, which admittedly is not for everyone.
Thanks for the quick reply, appreciate it. That variable is set to yes, in both our dev server and the prod server. It works fine on dev server, but not in prod with same settings. This why it seemed like maybe it was related to the php version and the coding difference for classes. PHP is improving so quickly, that different versions make this a common issue, but I am not experienced with the newer class structures so hard for me to fix.
So if I set $nesting = true manually on the prod server in content.blueprintspages.php, then the nesting works fine. This is what I did for now until I can figure out how to resolve long term.
What is the difference between manifest and config files? In manifest, that variable is set to 'no' while in config it is 'yes'
I don't get what you mean...
There is one config file under the manifest folder.
Sorry, that was confusing. The config under manifest contains the array symphony where pagestablenest_children is set and that same variable is set in a config in the root of my site. What is the difference between the config files, when is one used vs the other?
There shouldn't be a config file at the root!?!
I think something is terribly wrong with your install if you're having all of these problems.
Yeah, there should be one config.php file which is located in manifest/config.php. Symphony will only read this config.php file. I imagine this is the problem with your other thread too.
Update manifest/config.php with the correct information and I'm fairly sure your problems will disappear. Don't forget to delete the config.php in your root, it's useless and will just cause confusion ;)
Thanks, appreciate the help, that may explain a lot, will make corrections.
Do you have any update on this bug? Did you fix it?
It appears this wasn't a bug but merely a misconfiguration.
Create an account or sign in to comment.
We just moved our dev site from a dev server to a production site. In the process, we encountered two issues that were unexpected since both servers are on PHP5.2 (but dev is on 5.2.9 and prod is on 5.2.17).
First seems to be a class coding issue in class.mysql where the prod server was not able to read the connection info from the config file. I fixed the issue by moving config info into it manually.
The second issue is not keeping the site from working, but it is an annoyance. When you are in blueprints -> pages, the entrie 'children' column is missing. Instead, the child pages are listed within the main list of pages without having to drill down to see them.
It is the second part that I would like to resolve.
Regards,
David