segun

Experience

1,860

0 Best Reply Awards

  • Member Since 2 Weeks Ago
  • 1 Lesson Completed
  • 0 Favorites

24th March, 2017

segun left a reply on Image Doesn,t Load On Mobile Browsers • 2 days ago

ok thanks a lot

segun left a reply on Image Doesn,t Load On Mobile Browsers • 2 days ago

@jlrdw when i use smaller image it work on mobile, do i need to edit all the images, thanks?

segun left a reply on Image Doesn,t Load On Mobile Browsers • 2 days ago

@jlrdw i see it is the side that is effecting it sir

segun left a reply on Image Doesn,t Load On Mobile Browsers • 2 days ago

@jlrdw i remove everything else on the page and leave only the image on the body tag yet nothing show

segun left a reply on Image Doesn,t Load On Mobile Browsers • 2 days ago

@jlrdw no sir

segun left a reply on Image Doesn,t Load On Mobile Browsers • 2 days ago

@jlrdw yes i checked more than one mobile and i have also tried without www

segun started a new conversation Image Doesn,t Load On Mobile Browsers • 2 days ago

someone please help me my image does not load on mobile browsers but load perfectly on desktop

segun started a new conversation Users_email_unique • 2 days ago

i am trying to register a user with an existing email but different name i remove unique on the email but each time i am trying to register the new user i get this error: SQLSTATE[23000]: Integrity constraint violation: 1062 Duplicate entry 'segunoyebode4@gmail.com' for key 'users_email_unique' (SQL: insert into users (name, email, password, phone, plan, bname, acname, acnumber, actype, updated_at, created_at) values (Martinse, segunoyebode4@gmail.com, $2y$10$fBDDX3X2zWZjHba.Y7IZgejthBkNgMnlWzZZu4MozlZ/91X9J7ObC, +2348050947487, 10,000, gtbank, mememememe, 0141389746, Saving, 2017-03-24 09:32:29, 2017-03-24 09:32:29))

22nd March, 2017

segun left a reply on Trouble Querry • 4 days ago

i have solved it myself thanks

segun left a reply on Trouble Querry • 4 days ago

segun left a reply on Trouble Querry • 4 days ago

@Abi it got executed and give me this success : Confirmation sent succesfully,The user is now confirmed ! but status didnt change

segun started a new conversation Trouble Querry • 4 days ago

i don't know for some reason this code never updated my table

$collector = Collector::where('giver_id', $request->name)->firstOrFail(); $collector->status=2; $collector->save();

18th March, 2017

segun left a reply on Missing Argument 2 For App\Http\Controllers\ProfileController::update() • 1 week ago

thanks everybody i have done it, before i did it without the id, but now i use the id aproach. @silverxjohn @vipin93 @Cronix @Snapey . thank you everybody, i have watch the video about one three weeks ago, in fact many video but i learn a lot by asking question some of the question i do asked i knew them but i asked to get other people opinion and my thanks especially go @silverxjohn God bless you and everybody including my friend @vipin93.

17th March, 2017

segun left a reply on Missing Argument 2 For App\Http\Controllers\ProfileController::update() • 1 week ago

sometime if you watch the video you still have some question and you learn by asking i am sorry if i am not that good as you yet @vipin93 and you don't have to answer any of my question, there are millions of programmers out there that are ready to help, and i learned by asking

16th March, 2017

segun left a reply on Missing Argument 2 For App\Http\Controllers\ProfileController::update() • 1 week ago

@Cronix once i put the id on the form on save the page is trying to direct me to profile/id and i got error saying the page does not exist

segun started a new conversation Missing Argument 2 For App\Http\Controllers\ProfileController::update() • 1 week ago

i am trying to update my user details in the database but i am getting the above error here is my code on a gist file thanks in advance : https://gist.github.com/segun6060/22ce2bb94a918ba0b788187049da8bc8

13th March, 2017

segun left a reply on User And Friend Relation • 1 week ago

now working

segun left a reply on User And Friend Relation • 1 week ago

@abi i change the $singleUser to $user i still get the error saying:

Property [friends] does not exist on this collection instance. (View: /home/monezwxn/public_html/resources/views/home.blade.php)

@bwrice mind you i didn't put anything on my controller and yes i have migrated the table and even filled it with data

segun left a reply on User And Friend Relation • 1 week ago

@Abi

Trying to get property of non-object (View: /home/monezwxn/public_html/resources/views/home.blade.php)

segun left a reply on User Showing Their User Details On It Page • 1 week ago

@zachleigh plwase sir check out my code on gist on the user and friend progress thanks sir:

https://gist.github.com/segun6060/e1c7f010bda166addcb7cc740085921e

segun started a new conversation User And Friend Relation • 1 week ago

i have a user table that consist of id,name,email and phone number, what i want is that i want user A to be able to view user B or C details like name, email and phone number, i have created a table called friend_users table with just user_id and friend_id as a pivot table, but the problem is that i am getting the following error when i run the code i am using laravel 5.4 and here is the link to my code on gist, thanks in advance.

https://gist.github.com/segun6060/e1c7f010bda166addcb7cc740085921e

segun left a reply on User To User Relationship • 1 week ago

@vipin93 if you can't help with the current situation at list provide a link for your suggestion thanks

segun left a reply on User To User Relationship • 2 weeks ago

it returned nothing

12th March, 2017

segun left a reply on User To User Relationship • 2 weeks ago

don't i have to put anything on Friend_user Model?

segun left a reply on User Showing Their User Details On It Page • 2 weeks ago

on my app i want user A to be able to display user B details and i have not done any relationship i only have the user table

segun left a reply on User To User Relationship • 2 weeks ago

Property [friends] does not exist on this collection instance. (View: /home/monezwxn/public_html/resources/views/home.blade.php)

segun left a reply on User To User Relationship • 2 weeks ago

so i should put this in my controller sir

return $user->friends();

segun left a reply on User To User Relationship • 2 weeks ago

is this good on User model having a table and the column name inside the beLongToMany public function friends() { return $this->belongsToMany('User', 'friend_user', 'user_id', 'friend_id'); }

segun started a new conversation User Showing Their User Details On It Page • 2 weeks ago

i have user table with the following column id,name and email. however i want a user to show another user details like user a showing name and email of user b, please how can i achieve that and what relationship will that, i am using laravel auth be thanks in advance .

segun left a reply on User To User Relationship • 2 weeks ago

i am lost here

segun left a reply on User To User Relationship • 2 weeks ago

@clay and @bwrice i got this error message :

Property [friends] does not exist on this collection instance. (View: /home/monezwxn/public_html/resources/views/home.blade.php)

segun left a reply on User To User Relationship • 2 weeks ago

@bwrice so friend_user table will not have $table->increments('id'); $table->timestamps();

segun left a reply on User To User Relationship • 2 weeks ago

@bwrice so on the blade to display friend i need to use {{ Auth::user()->friend_user->name }} and please how will the controller look like.

segun started a new conversation User To User Relationship • 2 weeks ago

i have user table with the following column id,name and email. however i want a user to show another user details like user a showing name and email of user b, please how can i achieve that and what relationship will that be thanks in advance .

11th March, 2017

segun left a reply on Update And Datetime Issue • 2 weeks ago

@jlrdw now it has started working without me changing anything

segun left a reply on Update And Datetime Issue • 2 weeks ago

@jlrdw i don't even have any field for date or datetime

segun started a new conversation Update And Datetime Issue • 2 weeks ago

i am try to update my form what well earlier today and now this is the error code i am getting each time i click on submit button :

SQLSTATE[22007]: Invalid datetime format: 1292 Incorrect datetime value: '2017-03-12 02:39:55' for column 'updated_at' at row 1 (SQL: update users set status = 2, updated_at = 2017-03-12 02:39:55 where id = 8)

segun left a reply on Using A Form Button To Affect Two Table • 2 weeks ago

@Snapey thank you sir it's now working God bless you sir

segun left a reply on Using A Form Button To Affect Two Table • 2 weeks ago

when i do dd($request->all()); it returned :

array:3 [▼ "_token" => "OVdUTymPB9VneqsQovM2PvWwZPkEBc7c6Eqno3oy" "name" => "rapheal" "amount" => "200,000" ]

segun left a reply on Using A Form Button To Affect Two Table • 2 weeks ago

@Snapey yes sir i filled it with the name of someone in the user table

segun left a reply on Using A Form Button To Affect Two Table • 2 weeks ago

now after using the firstOrFail i got this error :

NotFoundHttpException in Handler.php line 131: No query results for model [App\User].

segun left a reply on Using A Form Button To Affect Two Table • 2 weeks ago

@Snapey yes i have imported user sir.

segun left a reply on Using A Form Button To Affect Two Table • 2 weeks ago

just this alone worked on another controller without the where clause :

$request->user()->status=1;

$request->user()->save();

segun left a reply on Using A Form Button To Affect Two Table • 2 weeks ago

@Snapey yes sir

segun left a reply on Using A Form Button To Affect Two Table • 2 weeks ago

@Snapey $user->status = 2;

segun left a reply on Using A Form Button To Affect Two Table • 2 weeks ago

@Snapey i got the fellowing error :

ErrorException in ConfirmController.php line 38: Creating default object from empty value

Edit Your Profile
Update

Want to change your profile photo? We pull from gravatar.com.