laravel-3 Questions
18
Solved
How to make increment row number with laravel pagination ? When i use pagination and i go to page 2 and above it will back to beginning. for example i will paginate(3)
<thead>
<tr>
...
6
Solved
My file (126 MB size, .exe) is giving me issues.
I'm using the standard laravel download method.
I tried increasing the memory but it still either says I have run out of memory, or I download a 0...
20
Solved
I've just started learning the Laravel framework and I'm having an issue with routing.
The only route that's working is the default home route that's attached to Laravel out of the box.
I'm using W...
Violet asked 3/8, 2012 at 7:42
3
I'm trying to add a slash to the end of the URL after I use Redirect::route() with Laravel.
I've tried numerous examples but couldnt find an answer.
This is what I have so far:
routes.php:
Route::g...
Ludeman asked 14/7, 2014 at 1:21
4
Solved
I was just wondering if anyone knew how to check for session timeout in Laravel.
You can check whether the session has a specific item:
if (Session::has('name'))
{
$name = Session::get('name');...
11
I'm trying to use the validation attributes in "language > {language} > validation.php", to replace the :attribute name (input name) for a proper to read name (example: first_name > First name) . I...
Tousle asked 11/6, 2013 at 14:50
12
Solved
I have this site and one of its pages creates a simple list of people from the database. I need to add one specific person to a variable I can access.
How do I modify the return $view->with('pe...
9
Solved
I need to update all of the rows in a database so that a particular field in all of them is equal to a single value. Here's an example.
Let's say my database table is like so:
id
data
confirmed...
10
Solved
I am having a bit of trouble with the routing.
I'm working on a CMS, and I need two primary routes. /admin and /(:any). The admin controller is used for the route /admin, and the view controller sh...
7
Solved
I am trying to write a phpunit test for a Laravel controller which expects post requests with a body in JSON format.
A simplified version of the controller:
class Account_Controller extends Base_...
4
New VPS server with Webmin, Apache Centos 6, Laravel application and old database schema. All working fine on old shared host, but on VPS for some reason Laravel's Session storage (Laravel 3.0) is ...
Sweepstakes asked 25/6, 2013 at 12:57
14
Solved
4
Solved
I want to know what events are fired by Laravel core libraries. I want to get the complete list, such as laravel.query and laravel.done.
There are four events listed at the official docs, but I th...
2
Solved
When trying to implement Laravel's length based validation
'password' => array(
'required',
'alpha_dash',
'Min:7'
)
and outputting error messages in my view
{{
$errors->first(
'passw...
Beverlybevers asked 17/3, 2013 at 17:35
5
Solved
I have a enterprise level application where logged in users are authorized to post articles to page using a WYSIWYG editor. (You can consider this application as a website builder.)
Everything wor...
5
My problem is i can logout properly after i click to logout link but if i click to back button of the browser, still able to see the content of the page which actually should not be seen with respe...
4
Solved
For generating a drop-down list with an item selected by default, the following is done:
echo Form::select('size', array('L' => 'Large', 'M' => 'Medium', 'S' => 'Small'), 'S');
So I gen...
4
Solved
I got a working project made in Laravel 3 that I have to switch to MsSQL Server (not my call though, sniff...) and I don't understand the Laravel configuration on this database type...
I changed t...
4
Solved
I'm using Laravel last version: 3.2.1.
When I run this on terminal:
php artisan migration:install
I have this error:
could not find driver
I made some searches on Google and on Laravel's Forum...
Lowermost asked 3/6, 2012 at 17:52
3
I'm pretty desperate and running out of ideas:
I've configured xdebug and PhpStorm for a Laravel 3 project. Running the project locally on Mac OS X Apache, so PhpStorm and the web application run ...
4
Solved
I am new to laravel and having a tough time figuring out a way to export one table to csv.
I have tried the following code in the controller class, but it gives me an error:
public function get_e...
3
Solved
I am brand new to laravel and am setting up admin panel authorization on my first application. The way I have my files setup currently setup is:
controllers/
admin/
dashboard.php
settings.php
n...
Warren asked 4/4, 2013 at 22:56
2
Solved
I'm trying to figure out how to give a column an alias using Eloquent.
So, in other words, how do I execute the following mysql query using Eloquent?
SELECT occupation AS test FROM users WHERE o...
3
I have tried showing an error message in a Controller and it doesn't work, but when I use dd, it works.
My Code:
if ($validation->fails())
{
/*Doesn't work
foreach ($validation->fails() a...
5
Solved
I'm coming From CodeIgniter to Laravel.
So, is a bad idea using automatic routes to all of controllers?
Route::controller(Controller::detect());
Should I use this instead creating routes in rou...
1 Next >
© 2022 - 2024 — McMap. All rights reserved.