# |
Feb 6th 2018, 08:42 |
h.mavisakalian |
but all the settings are correct |
# |
Feb 6th 2018, 08:42 |
h.mavisakalian |
It seems like the htaccess doesn’t set the webroot directory as root. |
# |
Feb 6th 2018, 08:41 |
h.mavisakalian |
still the files won’t load. |
# |
Feb 6th 2018, 08:41 |
h.mavisakalian |
on the server |
# |
Feb 6th 2018, 08:40 |
h.mavisakalian |
I checked and the mod_rewrite is enabled too |
# |
Feb 6th 2018, 08:40 |
h.mavisakalian |
I checked everything is ok |
# |
Feb 6th 2018, 08:40 |
megan |
Morning everyone :slightly_smiling_face: |
# |
Feb 6th 2018, 08:39 |
akutaktau |
sometimes it is missing when you uploaded it |
# |
Feb 6th 2018, 08:39 |
neon1024 |
Morning all |
# |
Feb 6th 2018, 08:38 |
akutaktau |
check your htaccess |
# |
Feb 6th 2018, 08:36 |
h.mavisakalian |
Or could it be an htaccess issue |
# |
Feb 6th 2018, 08:35 |
h.mavisakalian |
Can you also tell me how to set the baseurl? the images and css are not read… it seems a directory problem.. |
# |
Feb 6th 2018, 08:34 |
h.mavisakalian |
@akutaktau Thanks. |
# |
Feb 6th 2018, 08:28 |
akutaktau |
chown to www-data or apache |
# |
Feb 6th 2018, 08:28 |
itamer |
Hi, I'm trying to set up Mandrill as my email transport. Have the MandrillTransport.php in plugins, bootstrap has: Plugin::load('MandrillEmail'); The controller has use MandrillEmail\Network\Email\MandrillTransport; use Cake\Mailer\Email; but getting this error: Class 'MandrillEmail\Network\Email\MandrillTransport' not found What am I missing? |
# |
Feb 6th 2018, 08:28 |
learningcake |
heello Guys. I don't know why my application is giving me error 500. My application is in a folder->subfolder (public_html/cake/app) and I point my document_root to webroot that is inside the app folder. Do you know why I am having such error? but if I move the application to public_html/cake it works. Kindly note that I am using a subdomain. |
# |
Feb 6th 2018, 08:25 |
h.mavisakalian |
As I specified all the permissions are set to 755, what else should I do ? |
# |
Feb 6th 2018, 08:22 |
birdy247 |
@h.mavisakalian prety self explanitory. permissions error |
# |
Feb 6th 2018, 08:21 |
birdy247 |
morning |
# |
Feb 6th 2018, 08:18 |
h.mavisakalian |
I am sure you all had this problem and there is a simple solution to this. All the folders that are requested here have a 755 permissions set. |
# |
Feb 6th 2018, 08:17 |
slackebot |
Warning: file_put_contents(/var/www/html/******/public_html/logs/debug.log) [function.file-put-contents]: failed to open stream: Permission denied in /var/www/html/******/public_html/vendor/cakephp/cakephp/src/Log/Engine/FileLog.php on line 133 Warning (2): Cannot modify header information - headers already sent by …. I am using cakephp 3.5, uploaded on a new server. |
# |
Feb 6th 2018, 08:17 |
h.mavisakalian |
Hi guys, I am having a simple problem I think ))) My project works on the localhost, but when I set up a new server and uploaded the files to it I get a lot of permission errors like: Warning: file_put_contents(/var/www/html/******/public_html/logs/error.log) [function.file-put-contents]: failed to open stream: Permission denied in /var/www/html/******/public_html/vendor/cakephp/cakephp/src/Log/Engine/FileLog.php on line 133 |
# |
Feb 6th 2018, 08:14 |
akutaktau |
just wanted to know, currently i'm doing some custom finder for reporting, it works find. but somehow this custom finder give me "Cannot commit transaction - rollback() has been already called in the nested transaction" each time I'm trying adding new data. Is there a way to only use custom finder on pagination only? |
# |
Feb 6th 2018, 08:06 |
admad |
just make a regular class |
# |
Feb 6th 2018, 07:51 |
metoyoko1983 |
@kareylo I want model but table less. |
# |
Feb 6th 2018, 07:50 |
metoyoko1983 |
just to ready the model if ever need to add table. but for now, I want to pass JSON object and array from model to controller. |
# |
Feb 6th 2018, 07:46 |
admad |
@metoyoko1983 why do you need a model for that? |
# |
Feb 6th 2018, 07:44 |
kareylo |
If modelless form : https://book.cakephp.org/3.0/en/core-libraries/form.html |
# |
Feb 6th 2018, 07:44 |
kareylo |
Do you want to make a model or modelless form ? |
# |
Feb 6th 2018, 07:40 |
metoyoko1983 |
I want to make direct coded for dropdown purpose |
# |
Feb 6th 2018, 06:54 |
admad |
@metoyoko1983 for what purpose? |
# |
Feb 6th 2018, 06:53 |
metoyoko1983 |
Hi there's someone can help me on how to create model without table in cakephp 3.5.. In cakephp 2, we can do that by useTable = false; I want to make tableless options lists. Thanks in advance.. |
# |
Feb 5th 2018, 22:54 |
quecosa |
People in this channel, you are beautiful helping people, i apreciate slackebot for his help with this ajax thing i needed to do. :) |
# |
Feb 5th 2018, 22:18 |
night_wulfe |
Nevermind, I got it. This did the trick. App::build(['View' => APP.'Plugin'.DS.'PluginName'.DS.'View'.DS.'Themed'.DS.'ThemeName'.DS]); I didn't think it was working because somewhere else in my code I was overriding the default layout with $this->layout = 'something else'; |
# |
Feb 5th 2018, 21:58 |
night_wulfe |
I cannot move to CakePHP 2.0 as the code base is too large. The issue I'm having is that CakePHP 2.x, so far as I can tell from that documentation, requires that I put my plugin themed files in App\View\Themed\ThemeName\PluginName\etc, which breaks encapsulation of the plugin. I'm trying to add App\Plugin\PluginName\View\ThemeName to the view search paths so I can template within my plugin and override the core application views |
# |
Feb 5th 2018, 21:55 |
saeideng |
https://book.cakephp.org/2.0/en/views/themes.html |
# |
Feb 5th 2018, 21:54 |
saeideng |
and move to cake 3 if you able :,) |
# |
Feb 5th 2018, 21:53 |
saeideng |
there are different folder name `Themed/themeName/....` |
# |
Feb 5th 2018, 21:52 |
saeideng |
in cake 2 |
# |
Feb 5th 2018, 21:52 |
saeideng |
just |
# |
Feb 5th 2018, 21:52 |
saeideng |
cake 2 and 3 is same about |