TerrePorter

TerrePorter

Member Since 4 Years Ago

Experience Points
31,330
Total
Experience

3,670 experience to go until the next level!

In case you were wondering, you earn Laracasts experience when you:

  • Complete a lesson — 100pts
  • Create a forum thread — 50pts
  • Reply to a thread — 10pts
  • Leave a reply that is liked — 50pts
  • Receive a "Best Reply" award — 500pts
Lessons Completed
220
Lessons
Completed
Best Reply Awards
20
Best Reply
Awards
  • start-engines Created with Sketch.

    Start Your Engines

    Earned once you have completed your first Laracasts lesson.

  • first-thousand Created with Sketch.

    First Thousand

    Earned once you have earned your first 1000 experience points.

  • 1-year Created with Sketch.

    One Year Member

    Earned when you have been with Laracasts for 1 year.

  • 2-years Created with Sketch.

    Two Year Member

    Earned when you have been with Laracasts for 2 years.

  • 3-years Created with Sketch.

    Three Year Member

    Earned when you have been with Laracasts for 3 years.

  • 4-years Created with Sketch.

    Four Year Member

    Earned when you have been with Laracasts for 4 years.

  • 5-years Created with Sketch.

    Five Year Member

    Earned when you have been with Laracasts for 5 years.

  • school-session Created with Sketch.

    School In Session

    Earned when at least one Laracasts series has been fully completed.

  • welcome-newcomer Created with Sketch.

    Welcome To The Community

    Earned after your first post on the Laracasts forum.

  • full-time-student Created with Sketch.

    Full Time Learner

    Earned once 100 Laracasts lessons have been completed.

  • pay-it-forward Created with Sketch.

    Pay It Forward

    Earned once you receive your first "Best Reply" award on the Laracasts forum.

  • subscriber-token Created with Sketch.

    Subscriber

    Earned if you are a paying Laracasts subscriber.

  • lifer-token Created with Sketch.

    Lifer

    Earned if you have a lifetime subscription to Laracasts.

  • lara-evanghelist Created with Sketch.

    Laracasts Evangelist

    Earned if you share a link to Laracasts on social media. Please email [email protected] with your username and post URL to be awarded this badge.

  • chatty-cathy Created with Sketch.

    Chatty Cathy

    Earned once you have achieved 500 forum replies.

  • lara-veteran Created with Sketch.

    Laracasts Veteran

    Earned once your experience points passes 100,000.

  • 10k-strong Created with Sketch.

    Ten Thousand Strong

    Earned once your experience points hits 10,000.

  • lara-master Created with Sketch.

    Laracasts Master

    Earned once 1000 Laracasts lessons have been completed.

  • laracasts-tutor Created with Sketch.

    Laracasts Tutor

    Earned once your "Best Reply" award count is 100 or more.

  • laracasts-sensei Created with Sketch.

    Laracasts Sensei

    Earned once your experience points passes 1 million.

  • top-50 Created with Sketch.

    Top 50

    Earned once your experience points ranks in the top 50 of all Laracasts users.

Level 7
31,330 XP
Oct
20
4 weeks ago
Activity icon

Replied to Error 404 When Trying To Connect To Laravel Passport API Through VUE.JS

I looked a the code that you provided. I didn't see anything that looked off. I did notice that your using http basic auth. What http server are you using? It's mentioned here that you could need to update the .httaccess file. https://laravel.com/docs/master/authentication#http-basic-authentication

Activity icon

Replied to Error 404 When Trying To Connect To Laravel Passport API Through VUE.JS

Do other routes work?

You might check php artisan route:list and see if everything looks right.

Activity icon

Replied to Error 404 When Trying To Connect To Laravel Passport API Through VUE.JS

Did you try it without the middleware? That would isolate to being related to the auth:api or some other issue.

Activity icon

Replied to Calculation Of Values From Different Database Tables In Laravel

Something is wack on the site or your having the same problem 3 years later?

Activity icon

Awarded Best Reply on Homestead Laravel/ui Npm Install Issue

Ok, for anyone else who runs in to this issue.

First verify that the ShareFoldersEnableSymlinksCreate is set for the homestead vm box.

MINGW64 /c/local_devel/homestead-9.2.2_custom (master)
$ "C:\Program Files\Oracle\VirtualBox\VBoxManage.exe" getextradata hs922c
Key: GUI/LastCloseAction, Value: Detach
Key: GUI/LastNormalWindowPosition, Value: 920,168,800,642
Key: VBoxInternal2/SharedFoldersEnableSymlinksCreate/home_vagrant_Code, Value: 1
Key: VBoxInternal2/SharedFoldersEnableSymlinksCreate/home_vagrant_MySQL_Backups, Value: 1
Key: VBoxInternal2/SharedFoldersEnableSymlinksCreate/v-root, Value: 1
Key: VBoxInternal2/SharedFoldersEnableSymlinksCreate/vagrant, Value: 1

// hs922c is the name of my VM box

next, add yourself to the windows 10 policy allowing you to make symlinks

Right click on Start→Run and launch secpol.msc.

Open Security Settings → Local Policies → User Rights Assignment and select Create symbolic links

Source:https://superuser.com/questions/124679/how-do-i-create-a-link-in-windows-7-home-premium-as-a-regular-user?answertab=votes#125981

Then either reboot or log off an log on to update the policy settings.

Npm would still fail even with these changes, but yarn successfully installed everthing.

[email protected]:~/Code/_play/money.lan$ yarn install
yarn install v1.19.0
info No lockfile found.
[1/4] Resolving packages...
[2/4] Fetching packages...
info [email protected]: The platform "linux" is incompatible with this module.
info "[email protected]" is an optional dependency and failed compatibility check. Excluding it from installation.
info [email protected]: The platform "linux" is incompatible with this module.
info "[email protected]" is an optional dependency and failed compatibility check. Excluding it from installation.
[3/4] Linking dependencies...
warning " > [email protected]" has unmet peer dependency "[email protected]^4.36.0".
[4/4] Building fresh packages...
success Saved lockfile.
Done in 28.93s.
Activity icon

Replied to Homestead Laravel/ui Npm Install Issue

Ok, for anyone else who runs in to this issue.

First verify that the ShareFoldersEnableSymlinksCreate is set for the homestead vm box.

MINGW64 /c/local_devel/homestead-9.2.2_custom (master)
$ "C:\Program Files\Oracle\VirtualBox\VBoxManage.exe" getextradata hs922c
Key: GUI/LastCloseAction, Value: Detach
Key: GUI/LastNormalWindowPosition, Value: 920,168,800,642
Key: VBoxInternal2/SharedFoldersEnableSymlinksCreate/home_vagrant_Code, Value: 1
Key: VBoxInternal2/SharedFoldersEnableSymlinksCreate/home_vagrant_MySQL_Backups, Value: 1
Key: VBoxInternal2/SharedFoldersEnableSymlinksCreate/v-root, Value: 1
Key: VBoxInternal2/SharedFoldersEnableSymlinksCreate/vagrant, Value: 1

// hs922c is the name of my VM box

next, add yourself to the windows 10 policy allowing you to make symlinks

Right click on Start→Run and launch secpol.msc.

Open Security Settings → Local Policies → User Rights Assignment and select Create symbolic links

Source:https://superuser.com/questions/124679/how-do-i-create-a-link-in-windows-7-home-premium-as-a-regular-user?answertab=votes#125981

Then either reboot or log off an log on to update the policy settings.

Npm would still fail even with these changes, but yarn successfully installed everthing.

[email protected]:~/Code/_play/money.lan$ yarn install
yarn install v1.19.0
info No lockfile found.
[1/4] Resolving packages...
[2/4] Fetching packages...
info [email protected]: The platform "linux" is incompatible with this module.
info "[email protected]" is an optional dependency and failed compatibility check. Excluding it from installation.
info [email protected]: The platform "linux" is incompatible with this module.
info "[email protected]" is an optional dependency and failed compatibility check. Excluding it from installation.
[3/4] Linking dependencies...
warning " > [email protected]" has unmet peer dependency "[email protected]^4.36.0".
[4/4] Building fresh packages...
success Saved lockfile.
Done in 28.93s.
Activity icon

Replied to Homestead Laravel/ui Npm Install Issue

ok, so this is because the symlinks are not working on the shared location

Activity icon

Replied to Homestead Laravel/ui Npm Install Issue

Well I have traced this back to something to do with the windows folder that is being shared to homestead.

If I take the package.json and go to a non-shared folder it works without issue.

[email protected]:~$ cd ~
[email protected]:~$ mkdir test
[email protected]:~$ cd test/
[email protected]:~/test$ cp ../Code/_play/laravel6.lan/package.json .
[email protected]:~/test$ ls
package.json
[email protected]:~/test$ npm install
npm notice created a lockfile as package-lock.json. You should commit this file.
npm WARN optional SKIPPING OPTIONAL DEPENDENCY: [email protected] (node_modules/fsevents):
npm WARN notsup SKIPPING OPTIONAL DEPENDENCY: Unsupported platform for [email protected]: wanted {"os":"darwin","arch":"any"} (current: {"os":"linux","arch":"x64"})

added 1005 packages from 481 contributors and audited 17154 packages in 16.593s
found 0 vulnerabilities

Activity icon

Replied to Homestead Laravel/ui Npm Install Issue

@sinnbeck Unfortunately that didn't work.

[email protected]:~/Code/_play/money.lan$ npm cache clean --force
npm WARN using --force I sure hope you know what you are doing.
[email protected]:~/Code/_play/money.lan$ npm install && npm run dev
npm ERR! code ENOENT
npm ERR! syscall open
npm ERR! path /home/vagrant/Code/_play/money.lan/node_modules/del/node_modules/globby/node_modules/pify/package.json.1508562293
npm ERR! errno -2
npm ERR! enoent ENOENT: no such file or directory, open '/home/vagrant/Code/_play/money.lan/node_modules/del/node_modules/globby/node_modules/pify/package.json.1508562293'
npm ERR! enoent This is related to npm not being able to find a file.
npm ERR! enoent

Activity icon

Started a new Conversation Homestead Laravel/ui Npm Install Issue

So I am going down a long rabbit hole with this npm install, is there a secret step that I dont know of?

I have a fresh homestead instance.

I did this.

[email protected]:~/Code/_play$ laravel new money.lan
[email protected]:~/Code/_play/money.lan$ serve-laravel money.lan /home/vagrant/Code/_play/money.lan/public
[email protected]:~/Code/_play/money.lan$ sudo service nginx restart
[email protected]:~/Code/_play/money.lan$ composer require laravel/ui

There were no errors and the base site loaded.

Here is where things kind died.

[email protected]:~/Code/_play/money.lan$ php artisan ui vue –auth
Vue scaffolding installed successfully.
Please run "npm install && npm run dev" to compile your fresh scaffolding.
Authentication scaffolding generated successfully.

Ok, I ran

[email protected]:~/Code/_play/money.lan$ npm install
npm ERR! code ENOENT
npm ERR! syscall open
npm ERR! path /home/vagrant/Code/_play/money.lan/node_modules/yargs/node_modules/wrap-ansi/node_modules/string-width/package.json.3958008658
npm ERR! errno -2
npm ERR! enoent ENOENT: no such file or directory, open '/home/vagrant/Code/_play/money.lan/node_modules/yargs/node_modules/wrap-ansi/node_modules/stri                                    ng-width/package.json.3958008658'
npm ERR! enoent This is related to npm not being able to find a file.
npm ERR! enoent

tried to just install the wrap-ansi module

[email protected]:~/Code/_play/money.lan$ vi  /home/vagrant/.npm/_logs/2019-10-20T12_08_59_964Z-debug.log
[email protected]:~/Code/_play/money.lan$ npm install --save wrap-ansi
npm WARN [email protected] requires a peer of [email protected]^3.0.0 || ^4.0.0 but none is installed. You must install peer dependencies yourself.

npm ERR! code ENOENT
npm ERR! syscall open
npm ERR! path /home/vagrant/Code/_play/money.lan/node_modules/wrap-ansi/node_modules/ansi-regex/package.json.1785898363
npm ERR! errno -2
npm ERR! enoent ENOENT: no such file or directory, open '/home/vagrant/Code/_play/money.lan/node_modules/wrap-ansi/node_modules/ansi-regex/package.json.1785898363'
npm ERR! enoent This is related to npm not being able to find a file.
npm ERR! enoent

ok did some searches tried this

[email protected]:~/Code/_play/money.lan$ sudo npm install -g npm-install-missing
/usr/bin/npm-install-missing -> /usr/lib/node_modules/npm-install-missing/bin/npm-install-missing
+ [email protected]
added 432 packages from 841 contributors in 5.12s

tried the wrap-ansi again

[email protected]:~/Code/_play/money.lan$ npm install --save wrap-ansi
npm WARN [email protected] requires a peer of [email protected]^3.0.0 || ^4.0.0 but none is installed. You must install peer dependencies yourself.

npm ERR! code ENOENT
npm ERR! syscall open
npm ERR! path /home/vagrant/Code/_play/money.lan/node_modules/unset-value/node_modules/has-value/node_modules/isobject/package.json.278471905
npm ERR! errno -2
npm ERR! enoent ENOENT: no such file or directory, open '/home/vagrant/Code/_play/money.lan/node_modules/unset-value/node_modules/has-value/node_modules/isobject/package.json.278471905'
npm ERR! enoent This is related to npm not being able to find a file.
npm ERR! enoent

[email protected]:~/Code/_play/money.lan$ npm install webpack
npm ERR! code ENOENT
npm ERR! syscall open
npm ERR! path /home/vagrant/Code/_play/money.lan/node_modules/terser-webpack-plugin/node_modules/source-map/package.json.1276694350
npm ERR! errno -2
npm ERR! enoent ENOENT: no such file or directory, open '/home/vagrant/Code/_play/money.lan/node_modules/terser-webpack-plugin/node_modules/source-map/package.json.1276694350'
npm ERR! enoent This is related to npm not being able to find a file.
npm ERR! enoent

[email protected]:~/Code/_play/money.lan$ npm install --save wrap-ansi
npm WARN [email protected] requires a peer of [email protected]^3.0.0 || ^4.0.0 but none is installed. You must install peer dependencies yourself.

npm ERR! code ENOENT
npm ERR! syscall open
npm ERR! path /home/vagrant/Code/_play/money.lan/node_modules/unset-value/node_modules/has-value/node_modules/isobject/package.json.278471905
npm ERR! errno -2
npm ERR! enoent ENOENT: no such file or directory, open '/home/vagrant/Code/_play/money.lan/node_modules/unset-value/node_modules/has-value/node_modules/isobject/package.json.278471905'
npm ERR! enoent This is related to npm not being able to find a file.
npm ERR! enoent

[email protected]:~/Code/_play/money.lan$ npm install --save unset-value
npm WARN [email protected] requires a peer of [email protected]^3.0.0 || ^4.0.0 but none is installed. You must install peer dependencies yourself.

npm ERR! code ENOENT
npm ERR! syscall open
npm ERR! path /home/vagrant/Code/_play/money.lan/node_modules/unset-value/node_modules/has-value/node_modules/isobject/package.json.1316771833
npm ERR! errno -2
npm ERR! enoent ENOENT: no such file or directory, open '/home/vagrant/Code/_play/money.lan/node_modules/unset-value/node_modules/has-value/node_modules/isobject/package.json.1316771833'
npm ERR! enoent This is related to npm not being able to find a file.
npm ERR! enoent

And it keeps going After about 4 more packages that keep telling me it needed a package I figured its a bad install, so delete node_modules and tried again.

[email protected]:~/Code/_play/money.lan$ rm -fr node_modules
[email protected]:~/Code/_play/money.lan$ npm install
npm ERR! code ENOENT
npm ERR! syscall open
npm ERR! path /home/vagrant/Code/_play/money.lan/node_modules/yargs/node_modules/cliui/package.json.1176693808
npm ERR! errno -2
npm ERR! enoent ENOENT: no such file or directory, open '/home/vagrant/Code/_play/money.lan/node_modules/yargs/node_modules/cliui/package.json.1176693808'
npm ERR! enoent This is related to npm not being able to find a file.
npm ERR! enoent

Now its a completely different missing package.

This time is has taken for me to just get the npm to install I could have written the css out by hand.

Does anyone have an idea of how to fix this?

Activity icon

Replied to Deploying In Shared Server

Sure not a problem. Glad you figured it out

Activity icon

Replied to Deploying In Shared Server

So the directory structure is ?

/home/somename/public_html
/home/somename/websitefolder
Sep
24
1 month ago
Activity icon

Replied to Overwrite Order In SqlQuery

@mohammed_alama does not any effect mean it doesnt die and dump there?

Sep
23
1 month ago
Activity icon

Replied to MYSQL And MariaDB

@xtopher what do you mean when you say image the json column? Its either or for the second question, as far as I know the code base hasnt drifted apart enough to matter currently.

Activity icon

Replied to Refactor Huge Eloquent Query

@miggi maybe integrate the relationship functions in to the relationship on the model class. Or make a custom one that includes the filtered, productBonusesForAllClientsWithActiveCurrent, as example.

Activity icon

Replied to How To Sort A Collection By Its Relation In Laravel

@farshadf i am having a hard time figuring out you code. I dont see where $hits, $price, or $data are defined.

Do you mean, if $price is set, the order by sale_price? It sounds more complex than that.

Activity icon

Replied to How To Get Column Values From Multiple Tables In Laravel?

@nomirobin maybe make a relation function in users with it doing the filter for the column doesnt exist part. It would be returned as a sub array/obj in with the users model object.

Activity icon

Replied to Need To Order Posts Based On A Composite Score

@connecteev I would write out a sql statement that does what you want then use that to make a laravel equivalent and in code. Its hard to make that without more about the algorithm and how the weighting is determined.

Activity icon

Replied to Pass Model By Reference?

@bionary i didnt notice you had that actually in you post as already tried. I would do what @talinon offers its the most clean.

If your really wanting a reference style, you could make a service provider and a instance style loader then tie that in to laravels app container.

This is what I mean, https://laravel.com/docs/6.x/container then either as a singleton or a instance.

Activity icon

Replied to Overwrite Order In SqlQuery

@mohammed_alama ok, I would put a dad in the popular function and make sure its being called.

Activity icon

Replied to Installing Spark On Homestead (VirtualBox On Windows 10)

@mattltm not sure what else to try, maybe just scrap that node install and make a fresh one.

Activity icon

Replied to Testing Hundreds Of Sites

@jasonfrye i could see using a job system and a Ajax type web viewer to trigger the test run and to pool the results. You could set it up in a way that you could test a single site or multiple doing that.

If the micro sites are the same code base (per language) then you could expand it to include a call to a test script on the site being tested that would run a more complete site test of other elements. You could write the main test script once then just add it to the sites, perhaps.

Sep
22
1 month ago
Activity icon

Replied to CURL Error 35: Error:140773E8:SSL Routines:SSL23_GET_SERVER_HELLO:reason(1000) (see Http://curl.haxx.se/libcurl/c/libcurl-errors.html)

Have you checked the things mentioned in the error reference?

CURLE_SSL_CONNECT_ERROR (35)

A problem occurred somewhere in the SSL/TLS handshake. You really want the error buffer and read the message there as it pinpoints the problem slightly more. Could be certificates (file formats, paths, permissions), passwords, and others.

Activity icon

Replied to How Do I Setup 2 Homestead Boxes? ( One With Php 5.6 And One With Php 7)

Just for reference, you can use both php 5.6 and php 7 on the same homestead install. Just update the nginx confit for each site to use the php version you want.

Activity icon

Replied to Is It Possible To Prioritize A Package's Routes?

@infernobass7 good to know, I extended the main app class in order to force my load order on the packages.

Activity icon

Replied to Overwrite Order In SqlQuery

Hum, since it is returning the base query, just making sure you did add the filter to the main array, protected $filters = ['by', 'popular'];

You might also did the getQuery after resetting it, to make sure that is working.

Activity icon

Replied to Remove The Session Message After Click On Browser Back Button

Not tested but try

Session()->pull(error_msg)

Activity icon

Replied to Installing Spark On Homestead (VirtualBox On Windows 10)

Have you installed the package?

npm install --global cross-env

Activity icon

Replied to Wordpress And Woocommerce For A Laravel Developer?

For a restricted store check this plugin, https://wordpress.org/plugins/woo-products-restricted-users/, I havent used it and there might be others.

For learning Wordpress its just php, the only catch is the hook system (actions and filters) which can be a pain. I didnt find many resources when I started, I just looked at the code of the plugin, and figured out what hooks they used then either added in my own hook or made a custom template that didnt use the original hook.

Activity icon

Replied to Access-logs) Is Not Within The Allowed Path(s)

Ok, should be able to modify the php.ini here, Software > Select PHP Version > Switch to Php Options > Change Value

Then find/add your path to a setting called open_basedir

Sep
21
1 month ago
Activity icon

Replied to Homestead Nginx Not Serving Webpage

@danielmunn really,... things have changed for the homestead process in the last 3 years, lol

Activity icon

Replied to Access-logs) Is Not Within The Allowed Path(s)

What shared hosting control panel are you using?

You would need to modify the php.ini or httpd.conf to allow the directory, if your control panel allows that.

Activity icon

Replied to Wordpress And Woocommerce For A Laravel Developer?

Oh Yea WordPress fun, lol. I have been working with WordPress for about 8 or so months now. I started with zero experience with WordPress, saying that because it is not hard to learn just a pain in the butt to use sometimes.

  • Is it in general possible to use WordPress and WooCommerce for a project like this?

Sure, there are tons of sites that use that for their shopping carts, etc.

  • How can i handle authentication and the "membership webshop" in WordPress / WooCommerce?

Options, 1) use the WordPress login, 2) use Laravel auth. I think your going to be required to use the WordPress login for the WordPress stuff, now, you could setup a custom login plugin that would check the WordPress login and if it fails then try the Laravel and then if that fails then treat it as a bad login. I wouldnt do two separate login systems, that would be come very hard to manage later on. I would look at maybe a duel system, where it logins in to both WordPress and Laravel, would just have to figure out how. You could hook in to the account creation an do a api call to Laravel that creates the duplicate user in that system. Then a custom login could login to WordPress, and Laravel at the same time. You would also have to tie in to the password reset stuff.

  • Should I try to convince the customer that we build everything from scratch in Laravel, although he really wants to go with WordPress?

If you want too. But you will need to consider the time needed if writing most everything from scratch (or packages maybe) vs using WordPress and WooCommerce.

  • Should I try to figure out some crazy way to use both, WordPress and Laravel? (e.g. using WordPress for the static pages, handling the webshop in Laravel. But how can the shop admin than manage products and all that..)

I think this would be possible. You can run Laravel in a subdir on the WordPress site, then just modify the WordPress routes to direct the request to the Laravel page. I have some code that I used to overwrite the WordPress routes, so I can find that if you decide to go that route. It would take some tweaking to get it all set up but I am doing something similar in WordPress, just not to Laravel. The alternative would be to run WordPress in the subdir, and the main site would be Laravel. Then you could just use WordPress as an admin interface. You can use (or make) an api to access the data in the WordPress installation. Its possible, the question is if its worth the trouble.

  • a plain WordPress installation with the WooCommerce shop plugin. only used by the clients admin, to create static pages (provide the content) and WooCommerce products

Yes, this is what I would think of in the process.

  • a Laravel installation which pulls all the static pages content and product data from the WordPress API

Two ways to do this, you can either include the main WordPress class then use the WordPress functions to get products, coupons, handle the shopping cart calculations, etc. I dont remember any api that directly accesses the products, but there might be, if not you can write one in maybe a few lines of code. I think I may have some examples of that as well.

  • all the frontend stuff (design, ux) for the static pages as well as

Yes, you can make a custom theme that you can use git to keep in sync. Same with the custom plugins, you can use git on them too.

  • the whole shop implementation (cart, checkout pages, etc) is built in Laravel?

This is the tricky part. You could do all of that in Laravel, but it might be simpler to just use WordPress since it would already be built in and you would only need to make the page templates. I am a big fan of Laravel, but sometimes there is just not a way to work in using it on some projects. You would need to ask yourself, what am I using Laravel to do and is that the most efficient way or would just writing a plugin to WordPress and a custom theme (aka templates) be better.

  • would be possible to visit some weird, not styled WordPress pages (or at least the WordPress index page) on that WordPress installation?

Not a big problem, since you can overwrite the router in WordPress relatively easily. However, it could make the admin management the pages in WordPress a bit tricky.

-- Hope that helps. (really need a markdown preview... lol)

Sep
20
1 month ago
Activity icon

Replied to Amazon S3 File Download Not Working -- "File Not Found At Path:"

Very rough, but maybe something like this...

return response()->streamDownload(function ()  use ($s3_file){
    echo file_get_contents(;$s3_file);
},$project_document->filename);```
Activity icon

Replied to Pass Model By Reference?

Can you do this ?

public function getBrandsList(Task &$task){ $task[] = 'Another error.'; }
Activity icon

Replied to Binding Two Variables In Js

Why dont you just do the e.preventDefault() in the click hook before the call to the smoothScroll?

Activity icon

Replied to Advices To Construct Conceptual Model Of Data

Ok, not sure I totally understand what your asking.

Is this right?

Each Company -> has many celebrants -> each celebrant has one affection per date restricted to (morning or afternoon) -> that affection can have many bookings (aka times) per the time frame (morning or afternoon) up to the limit specified in the affection record

Activity icon

Replied to Testing Hundreds Of Sites

Oh I love a good challenge. So are you only checking if the login is functional or are there other things to test?

For login, I would likely use guzzle and just post a login request to each site then verify based on the html reply. It sounds the easiest to set up for automation or even a web interface. You could set it up using threads then run multiple checks at the same time or stagger them some. You could use php or perl for the test script.