Data dodania Pytanie
2017-01-11 23:01 Delete data from database if user closed browser »
Hello how can i detect if user closed browser and delete something from db? I want to use it for online count because when user close browser he is st...
(3) odpowiedzi
2017-01-11 20:01 woocommerce PayPal link error - comma instead of dot »
i am using WooCoomerce and Wordpress in their newest versions. On top i have German Market installed. I enter my prices like 24,99€. The decimal pos...
(2) odpowiedzi
2017-01-11 20:01 Lazy require of extension.binding did not set the binding field »
I have a photos.html that is running on a local php server with a bunch of javascript and html. Whenever I load the page, I get a (CONTENT_SCRIPT cont...
(0) odpowiedzi
2017-01-11 18:01 How can I pass an Array into a Laravel Controller »
I have a number of arrays within my Laravel view that I would like to pass into the controller. These arrays should not be modified by the user, and a...
(1) odpowiedzi
2017-01-11 15:01 "Sorry, you are not allowed to customize this site" after upgrade to Wordpress 4.7 »
I'm pretty new to wordpress and I did an upgrade to wp 4.7. I can't customize the current theme or any other. What I've done: - tried with a bought th...
(0) odpowiedzi
2017-01-11 14:01 PHP date_sunrise and date_sun_info giving different results »
I have a webcam website and I wanted to display the sunrise time for the actual day. So I used the date_sunrise function in PHP for this purpose. In a...
(2) odpowiedzi
2017-01-11 14:01 Class Not Found Calling a Laravel Script from Supervisord »
I'm using Laravel workers to execute some background tasks. When I invoke the worker using 'php artisan queue:work', it works without any problem But...
(2) odpowiedzi
2017-01-11 13:01 symfony create database index with lower function »
How can I declare in Doctrine an index for postgresql like: CREATE INDEX index_name_city_hotel ON booking_hotels(lower(name) text_pattern_ops, city_ho...
(0) odpowiedzi
2017-01-11 12:01 How to implode these conditions to achieve this query structure? »
Below is my working query that gets into action after a form submit. My query works only if all textboxes are filled, so currently everything is requi...
(5) odpowiedzi
2017-01-11 12:01 getting redirected to root when having a special character in request - laravel 5 »
here's my routes file: Route::any('target',function(){ return 'got it!'; }); here's my form: <form method='post' action='example.com/target...
(3) odpowiedzi
2017-01-11 11:01 Laravel validation for field if "image/file" is selected? »
I have a field "image", type is file and need only to validate if image is selected, means it can be also empty. I tried it so: 'avatar' => 'mimes...
(4) odpowiedzi
2017-01-11 09:01 How to include a blade file which has a full stop (.) as part of the file name in blade »
I have a partial view with the following path. /views/acp/review/check.details.blade.php How do I include such a file using blade because If I do ...
(1) odpowiedzi
2017-01-10 23:01 WooCommerce: Move Coupon Field on Cart Page »
I am trying to change the position of the coupon field on the cart page. I am vaguely familiar with actions and hooks, so I know I need to remove the ...
(1) odpowiedzi
2017-01-10 22:01 How can I pad each multibyte character / emoji with spaces around it in a string? »
I'd like to pad each multibyte character with spaces on either side. I can strip them out just fine, but I'd like to leave them in and just pad them. ...
(3) odpowiedzi
2017-01-10 21:01 Why would this function fail? »
I am trying to understand why this function wouldn't work. Will someone educate me what is going on? function API() { $seed = str_split(md5(r...
(3) odpowiedzi
2017-01-10 20:01 Better approach for updating multiple data »
I have this MySQL table, where row contact_id is unique for each user_id. history: - hist_id: int(11) auto_increment primary key - user_id: int(11) -...
(1) odpowiedzi
2017-01-10 19:01 How to make a responsive table in CSS »
I have tried the piece of code mentioned below for a table, but it doesn't make it responsive. Can anyone make modifications to this code to make it r...
(3) odpowiedzi
2017-01-10 18:01 Accessing / Filtering values within square brackets in deep nested arrays - Using DataTable Editor »
I have an array with 20 records similar to this: { "data":[ ... { "DT_RowId":"row_5T20DDU5", "accounts":{ "name":"Name of C...
(0) odpowiedzi
2017-01-10 18:01 Complex Database Queries in yii2 with Active Record »
TL;DR I have a query that works in RAW SQL but i have had little success recreating it with query builder or active record. I am working on a web ...
(2) odpowiedzi
2017-01-10 17:01 Undefined index in array element »
seem to be experiencing something strange. I am loading an Excel file's data into an array. I am handling things like so foreach ($data->toArray...
(1) odpowiedzi
2017-01-10 15:01 Disable csrf protection not working »
I am working on a PHP based API using symfony framework (2.6.x), I have csrf token protection enabled and everything is working fine with an angularjs...
(0) odpowiedzi
2017-01-10 14:01 Laravel many to many relationships - retrieving models »
If we have something like this: user id name role id name shop id name role_user role_id user_id shop_user shop_id user_id Quick...
(2) odpowiedzi
2017-01-09 22:01 Does Opcache on PHP7 preallocate all assigned memory? »
My opcache had a memory_consumption set of 512M and it was full. So I increased it to 2048M, and restarted the php-fpm daemon. And it immediately fi...
(1) odpowiedzi
2017-01-09 18:01 Authentication not working in subdirectories of Wordpress blog installed in IIS8.5 »
I have a Wordpress blog installed in a IIS 8.5 machine and I'm using forms authentication using the following: <authentication mode="Forms"> ...
(1) odpowiedzi
2017-01-09 18:01 How to sort a collection by reputation and creation date »
Assuming I want to sort a list of users by reputation: User with 5 reputation User with 3 reputation User with 0 reputation (this user was registere...
(1) odpowiedzi
2017-01-09 16:01 Random RuntimeException: The only supported ciphers are AES-128-CBC and AES-256-CBC with the correct key length »
I have same problem with Laravel 5.3 (on windows server). I did all possible attempts: checked .env file, config, artisan new key generation, cache: c...
(2) odpowiedzi
2017-01-09 15:01 Can anyone explain in simple and easy words that what is the difference between ../ and ./ when including files? »
As we know that ../ means one step back and / means the current place but i am confused about the ./ when working with my web site and found that. Can...
(4) odpowiedzi
2017-01-09 12:01 why isn't "between" available in a laravel schedule task? »
I've got the manual in front of me, I've searched Google, and nothing. Why is this: //update combined results cache $schedule->call('App\H...
(1) odpowiedzi
2017-01-09 12:01 How to Create New User (without Form) in laravel 5.2? »
I want to create new User in laravel 5.2. I try the following to create user, public function createUser() { return User::create([ ...
(3) odpowiedzi
2017-01-09 10:01 Why can't I traverse this element using iframe object and jQuery? »
I'm trying to access a particular element (maybe more similar to this) using iframe object and jQuery but it isn't working. The iframeWindow object i...
(4) odpowiedzi
2017-01-09 10:01 laravel 5 - getting redirected to website's root when having some values in form »
here's my blade file : example.com/add <form action="" method="post"> <input type="hidden" name="_token" value="{{Session::token()}}"&gt...
(1) odpowiedzi
2017-01-09 01:01 multiple joins laravel php »
I have a blog app, it has three tables that I want to look into for any search query. Three tables: posts ,categories,tags. Models: Post: class Po...
(1) odpowiedzi
2017-01-08 22:01 Wordpress custom table - get data out a foreach loop »
What I'm trying to achieve is: I have a custom table with several rows. Every row is an item linked with a page (the "page" field of the row is the n...
(1) odpowiedzi
2017-01-08 20:01 Woocommerce: get availability remaining from fixed quantity »
I am using the following function in order to customize the display of available products/seats left, using Woocommerce. add_filter( 'woocommerce_get...
(1) odpowiedzi
2017-01-08 20:01 How do I query posts and use the 'orderby' attribute to order posts in loop according to date 'meta_value'? »
I am creating a website for a theatre company, and I am creating an index of all past, current, and future productions. I would like the index to 'ord...
(1) odpowiedzi