Are you getting this strange error when trying to create cache for prod enviroment? and not getting this error on dev environemnt?
Easy to fix, Open the Entity file referring to this repository file and prefix it with “\” to give absolute namespaced path.
Issue:
Fix:
Hope this helps!
How to echo date in Bash script:
How to format:
How to get yesterday’s date?
Do you know that You CAN replace MySql field values by SQL query? it’s pretty simple. Use update Command with “replace” to set value to field:
Not only this, you can do whole lot of other things without having to write any programes (php, asp etc) to do some trick with MySql DB contents
Have [...]
I’ve spent hours looking for an easier way to batch renames files with a sequential number at the end. In Microsoft Windows Operating systems, simply select all files and rename one; that will rename rest of the selected files with Name given and add numbers at the end of file name.
There are few Applications [...]
How to get Requested protocol Http or HTTPS in PHP?
This function will return True if HTTPS when called…
is_https() { return strtolower(substr($_SERVER["SERVER_PROTOCOL"],0,5))==’https’? true : false; }
Recent Comments
- Charles on Object doesn’t support this property or method
- Lucas on PHP : get Request protocol Http or HTTPS
- Chris on Split & Concat Snow Leopard Error : (-2753) The variable thePanel is not defined
- Get url with protocol, http or https – Richard Choi on PHP : get Request protocol Http or HTTPS
- daGrevis on PHP : get Request protocol Http or HTTPS
