Skip to main content
Filter by
Sorted by
Tagged with
3 votes
2 answers
3k views

<!DOCTYPE html> This is the code. How can I fix that? I tested the HTML/CSS/JavaScript before integrating the code with Laravel.
user avatar
0 votes
2 answers
2k views

Recently I started learning Laravel and is really good PHP framework. Currently I'm trying to make my own MVC similar how Laravel works. My logic We set the routes, then we check if the current ...
Ben's user avatar
  • 1,914
3 votes
1 answer
332 views

I am using the Backbone.js Paginator plugin. It does infinite scroll pagination well by defining its own Collection for the models involved in the pagination. If the user is logged in, the PHP backend ...
Nyxynyx's user avatar
  • 64.1k
0 votes
2 answers
3k views

I am trying to retrieve some values from a table, but got the Unhandled exception: Trying to get property of non-object error when trying to access the results as a property of the object returned by ...
Nyxynyx's user avatar
  • 64.1k
0 votes
1 answer
292 views

I am using backbone.js to create a view with a button. When the button is clicked, data containing the logged in user's user_id is sent back to the server via AJAX. Problem: I am using a PHP backend (...
Nyxynyx's user avatar
  • 64.1k
8 votes
2 answers
5k views

If I have this in my controller $this->layout->nest('content', 'home.index', $array); I can only access the data in $array inside the home.index.blade.php template file, and NOT in the layouts....
shane's user avatar
  • 862
4 votes
2 answers
698 views

I am trying to use Simpletest for unit-testing with Laravel. I know Laravel comes integrated with PHPUnit support and I know that PHPUnit is the industry standard, but having worked with simpletest ...
pyrometer's user avatar
  • 881
49 votes
9 answers
49k views

I am using laravel and laravel migration mechanism. I created tables and seted up foreign keys. But the tables are MyISSAM so no foreign keys are created. Where do I enable / configure this? (to ...
DigitalWM's user avatar
  • 4,536
6 votes
2 answers
7k views

I am using PostgreSQL on a Laravel installation. A table has a byte-type field that is being used to store binary data (base64_encoded file contents). When I use Eloquent to retrieve the table I get ...
Andy's user avatar
  • 2,160
4 votes
1 answer
6k views

I'm getting kinda crazy over here because I already wasted two hours getting my clean URLs enabled for the laravel framework. I'm on a Mac and have a XAMPP setup. The Loadmodule mod_rewrite is ...
Boyd's user avatar
  • 773
28 votes
2 answers
7k views

I wish to add auto-complete with documentation for Laravel in Aptana 3.0 Tough I managed to create auto-complete (just by mapping a few methods in it) https://github.com/danielboendergaard/laravel-...
Akash's user avatar
  • 5,022
0 votes
1 answer
419 views

new to Laravel (coming from Java spring), while using Route::get('/', function() { return "Hello World!"; }); Above, we dont need to include any header files(in this and all other configuration ...
Akash's user avatar
  • 5,022
3 votes
1 answer
268 views

public function action_adicionar_item() { $lista_item_pedido = array(); $x = 0; if(Session::has('lista_item_pedido')) { foreach(Session::get('lista_item_pedido') as $item) ...
user avatar
5 votes
4 answers
6k views

I've got a file upload field (attachment1) in a form that may or may not have a file uploaded in it when I process the form in laravel. When I'm trying to process the page, this line generates an ...
occam98's user avatar
  • 331
10 votes
2 answers
12k views

I want to visit a page like... http://mysitelocaltion/user_name/user_id This is just a virtual link, I have used a .htaccess -rewrite rule to internally pass "user_name" and "use_id" as get ...
Akash's user avatar
  • 5,022
0 votes
1 answer
814 views

I'm in the middle of some work and suddenly I get this. Warning: require(/opt/lampp/htdocs/ERP/laravel/÷5 ication) [function.require]: failed to open stream: No such file or directory in /opt/...
user avatar
42 votes
4 answers
8k views

I would like to use built-in ORM functionality in Laravel's Eloquent ORM to automatically join the tournaments and countries tables together when running a query, and return the data set that includes ...
Graham Kennedy's user avatar
8 votes
1 answer
996 views

I'm new to Laravel and thought it be cool to purchase the Codehappy ebook by Dayle Rees. I just finished the blog tutorial and thought a bit on how he retrieved the posts from the Post model. Coming ...
RaVen's user avatar
  • 773
6 votes
2 answers
6k views

I am experiencing a fatal error while using artisan on the (fantastic) Laravel PHP framework. I recently downloaded v3.2.1 of Laravel, and I tried running the following command line from within the ...
Graham Kennedy's user avatar
4 votes
3 answers
2k views

I tried to make Laravel works on my environment (MAMP) but i'm stuck in this situation. The index.php file of Laravel is into a subfolder called "public", so if I want to test my application I need ...
MatterGoal's user avatar
  • 16.5k
8 votes
2 answers
2k views

I'm testing under Windows and the command prompt doesn't do so well with the ANSI color codes that appear by default. How can I turn off the color display when I'm using Laravel?
J.T. Grimes's user avatar
  • 4,270
5 votes
4 answers
9k views

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, ...
user avatar
12 votes
4 answers
14k views

I have the following issue when trying to install Laravel http://laravel.com Any help, would be greatly appreciated. Unhandled Exception Message: file_put_contents(/Users/alvincrespo/...
alvincrespo's user avatar
  • 9,334
6 votes
2 answers
226 views

I'm about to redesign a DB schema and I'm considering using an ORM in my app, would the below schema work with, for example, Eloquent ORM, or would I also have to add the JOIN tables as well? ISSUES(...
Erocanti's user avatar
  • 183
1 vote
4 answers
8k views

I want to add auto increment value in a field in mongodb using php, without using counting the records and next number(count + 1) will be my increment value... Or Is there any way to create array of ...
Rohan Kumar's user avatar
  • 40.7k
21 votes
1 answer
12k views

I'm attempting to set up the Laravel PHP Framework to work with Nginx. Here is my directory structure: /project /application /laravel /public index.php /legacy /index.php ...
Kyle Decot's user avatar
  • 20.9k
7 votes
2 answers
883 views

There are a few similar questions but I'll throw this in the mix. Basically, I have a timestamp column (which is an int) and one of my updates is ONLY updating this timestamp column and sometimes it'...
Jason Lewis's user avatar
  • 18.7k
4 votes
2 answers
3k views

I get this error when enabling sessions, using the filesystem, in Laravel PHP. Only variables should be passed by reference in SYS_PATH/session.php on line 230. Stack Trace: 0 /Applications/XAMPP/...
Eric's user avatar
  • 837
15 votes
1 answer
11k views

I'm using CodeIgniter and have just installed a LAMP stack on an Ubuntu 10.10 cloud server. Everything is working great, and I have the Apache userdir module enabled so that my home directory sits at ...
Dan Matthews's user avatar
  • 1,245

1
4250 4251 4252 4253
4254