Posts by SunT • 357 points
21 posts
-
1
votes1
answer296
viewsQ: How to make only the webroot folder visible to everyone?
In the Cake documentation, it indicates there you should only have this folder visible to everyone. How can you do that? This protects my application’s code from being tampered with?…
-
0
votes2
answers799
viewsA: Fatal error: Cannot unset string offsets
I think I’ve found a solution in problem similar.
-
0
votes2
answers799
viewsQ: Fatal error: Cannot unset string offsets
After uploading my website, the form for inserting images stopped working, when clicking the save button I get : Fatal error: Cannot unset string offsets in…
-
0
votes1
answer196
viewsQ: Cakeemail sends email without message
I’m trying to make a form to send an email. This is sent correctly and with the name of the person, who is inserted in the form, in the right place, in the email Subject. However neither the email…
-
1
votes1
answer220
viewsQ: Cakephp Does Not Display Special Characters Present in Database Content
I get something like: Produ��es - Casamento Catarina & Lu�s _ Caves Taylor�s But the wait was to get : Produções - Casamento Catarina & Luís _ Caves Taylor's This only happens with database…
-
-2
votes1
answer185
viewsQ: Site opens in webroot folder
The site I’m putting online is presenting http://mysite.com/app/webroot/ every time www.mysite.com on the way to access it. However I wanted it to just go to http://mysite.com/, where is the view…
-
1
votes1
answer5316
viewsQ: Uncaught Syntaxerror: Unexpected token
I get this error in the 3rd line of this code to make a lightbox appear with an image by clicking on it, using fancybox 2, with Cakephp. I can’t figure out why this is happening, someone can help…
-
0
votes1
answer69
views -
0
votes2
answers2573
viewsA: Dropdown does not work
After doing a cleaning of . js files in the webroot folder, and having reisntalado the fancybox, of this link, and then this plugin, dropdowns started working correctly. Head of the Layout…
-
0
votes1
answer69
views -
-1
votes2
answers2573
viewsQ: Dropdown does not work
I have a dropdown menu that shows links to the gallery and videos, however, if you’re in a view other than index.ctp the dropdown no longer works. But if I take dropdown.js of the "source code"…
-
3
votes2
answers299
viewsQ: Display data in the table
I am trying to present these items in this way: However after several attempts the table always remains so: How should I make the table to get this result? View <h2>Apagar evento</h2>…
-
2
votes2
answers129
viewsA: Undefined Index
Just change the controller to: public function admin_mod_password(){ $this->loadModel('User'); $users = $this->User->find('first'); $this->set('users', $users);…
-
0
votes2
answers129
viewsQ: Undefined Index
I’m having an error passing the data from the database to the view, only the code is pretty much the same as the one I have, and it works correctly. The Array with the data is also being sent to the…
-
-1
votes1
answer519
viewsQ: Invalid argument supplied for foreach()
I get this mistake: Warning (2): Invalid argument supplied for foreach() [CORE Cake Utility Validation.php, line 490] using the admin_upload_image action from my Galleries controller. But this…
-
1
votes1
answer67
viewsA: CSS for the Timthumb plugin for Cakephp
Resolution All I had to do was apply <td> to class="thumbnail", however later I had to add, too, the style="display:inline-block;" because the miniatures were presented vertically, not 4 for…
-
0
votes1
answer67
viewsQ: CSS for the Timthumb plugin for Cakephp
Is there any way to apply classes CSS the thumbnails created by the plugin Timthumb to the Cakephp? The attribute 'class' causes an error. Code…
-
2
votes1
answer219
viewsQ: How to get the link id present in the postLink method?
I need to get the id link present in the method postLink in order to delete from the database an image id is equal to this link id, which is equal to the database id. How do I get that value? View…
-
-1
votes1
answer59
viewsQ: Does postLink method not exist in Cakephp version 2.4.4?
I am trying to use the postLink method to delete images using the name of these. However Cake gives me an error saying :Warning (512): Method Htmlhelper::postLink does not exist [CORE Cake View…
-
0
votes1
answer1055
views -
6
votes1
answer1286
viewsQ: Open images on the same page with Fancybox in Cakephp impossible
I’m trying to make a gallery, which consists of a list of thumbnails, which by clicking on the items would eventually make a popup window appear as in first example here. After several failed…