harry_ord
Members-
Posts
117 -
Joined
-
Last visited
harry_ord's Achievements
Member (2/7)
0
Reputation
-
I made a phpinfo.php file with: <?php phpinfo(); ?> And the page header says PHP Version 7.1.6 in bold. Could you try download it and install it yourself? i'm suspecting that the app is not actually working.
-
I got this: Fatal error: Uncaught ReflectionException: Class config does not exist in C:\xampp\htdocs\FoodDelivery\vendor\laravel\framework\src\Illuminate\Container\Container.php:752 Stack trace: #0 C:\xampp\htdocs\FoodDelivery\vendor\laravel\framework\src\Illuminate\Container\Container.php(752): ReflectionClass->__construct('config') #1 C:\xampp\htdocs\FoodDelivery\vendor\laravel\framework\src\Illuminate\Container\Container.php(631): Illuminate\Container\Container->build('config') #2 C:\xampp\htdocs\FoodDelivery\vendor\laravel\framework\src\Illuminate\Container\Container.php(586): Illuminate\Container\Container->resolve('config', Array) #3 C:\xampp\htdocs\FoodDelivery\vendor\laravel\framework\src\Illuminate\Foundation\Application.php(732): Illuminate\Container\Container->make('config', Array) #4 C:\xampp\htdocs\FoodDelivery\vendor\laravel\framework\src\Illuminate\Foundation\helpers.php(110): Illuminate\Foundation\Application->make('config', Array) #5 C:\xampp\htdocs\FoodDelivery\vendor\laravel\framework\src\Illuminate\Foundation\hel in C:\xampp\htdocs\FoodDelivery\vendor\laravel\framework\src\Illuminate\Container\Container.php on line 752
-
I dowloaded the following project from github: https://github.com/deadwheel/FoodDelivery I did the following steps: 1- Downloaded the files via git bash to my xamppp'shtdocs folder: $ git clone https://github.com/deadwheel/FoodDelivery.git 2- Created the database forge on phpmyadmin. 3- I modified the config/database.php on the project's folder leaving it like this: 'mysql' => [ 'driver' => 'mysql', 'host' => env('DB_HOST', '127.0.0.1'), 'port' => env('DB_PORT', '3306'), 'database' => env('DB_DATABASE', 'forge'), 'username' => env('DB_USERNAME', 'root'), 'password' => env('DB_PASSWORD', ''), 'unix_socket' => env('DB_SOCKET', ''), 'charset' => 'utf8mb4', 'collation' => 'utf8mb4_unicode_ci', 'prefix' => '', 'strict' => false, 'engine' => 'innoDB', ], 4- Input the following commands: $ composer update $ php artisan migrate With this, all the tables apperead on the database, but i got the following errors. Connection.php line 664: SQLSTATE[HY000]: General error: 1825 Failed to add the foreign key constraint on table 'order_driver'. Incorrect options in FOREIGN KEY constraint 'forge/order_driver_deliverer_id_foreign' (SQL: alter table `order_driver` add constraint `order_driver_deliverer_id_foreign` foreign key (`deliverer_id`) references `users` (`id`) on delete NO ACTION) PDOStatement.php line 143: SQLSTATE[HY000]: General error: 1825 Failed to add the foreign key constraint on table 'order_driver'. Incorrect options in FOREIGN KEY constraint 'forge/order_driver_deliverer_id_foreign' PDOStatement.php line 141: SQLSTATE[HY000]: General error: 1825 Failed to add the foreign key constraint on table 'order_driver'. Incorrect options in FOREIGN KEY constraint 'forge/order_driver_deliverer_id_foreign' I ignored the errors and tried opening the project on my browser going to: https://laravel.test/FoodDelivery/public/ and i got the following error: "Whoops, looks like something went wrong." Is something missing? what else do i need to fix?
-
I have a Laravel installation in Xampp and i configured a virtualhost with the url "http://laravel.test" so i don't have to write "http://localhost/laravel5-upaetest/public/". The problem is that now whenever i write the url "http:laravel.test" in my browser it takes me to the root of the htdocs folder and when i write "localhost" it takes me to my laravel project folder. How can i fix it? the idea is that when write laravel.test it takes me to my project in laravel5-upaetest/public. This is my httpd-vhosts.conf file: # Virtual Hosts # # Required modules: mod_log_config # If you want to maintain multiple domains/hostnames on your # machine you can setup VirtualHost containers for them. Most configurations # use only name-based virtual hosts so the server doesn't need to worry about # IP addresses. This is indicated by the asterisks in the directives below. # # Please see the documentation at # <URL:http://httpd.apache.org/docs/2.4/vhosts/> # for further details before you try to setup virtual hosts. # # You may use the command line option '-S' to verify your virtual host # configuration. # # Use name-based virtual hosting. # ##NameVirtualHost *:80 # # VirtualHost example: # Almost any Apache directive may go into a VirtualHost container. # The first VirtualHost section is used for all requests that do not # match a ##ServerName or ##ServerAlias in any <VirtualHost> block. # ##<VirtualHost *:80> ##ServerAdmin webmaster@dummy-host.example.com ##DocumentRoot "C:/xampp/htdocs/dummy-host.example.com" ##ServerName dummy-host.example.com ##ServerAlias www.dummy-host.example.com ##ErrorLog "logs/dummy-host.example.com-error.log" ##CustomLog "logs/dummy-host.example.com-access.log" common ##</VirtualHost> ##<VirtualHost *:80> ##ServerAdmin webmaster@dummy-host2.example.com ##DocumentRoot "C:/xampp/htdocs/dummy-host2.example.com" ##ServerName dummy-host2.example.com ##ErrorLog "logs/dummy-host2.example.com-error.log" ##CustomLog "logs/dummy-host2.example.com-access.log" common ##</VirtualHost> <Directory c:/xampp> AllowOverride All Require all granted Allow from all </Directory> <VirtualHost *:80> DocumentRoot c:/xampp/htdocs/laravel5-upaetest/public ServerName laravel.test </VirtualHost>
-
Hello This is my site: http://negociovirtual.cl/ I'm using the Divi theme and i have a section with a video background. The theme allows me to load a .mp4 and a .webm file, but not a .ogg file (maybe that's the issue?). I can see the video with no problem in Chrome, but in Firefox the video doesn't load and just give a black background. How can i fix this? I read online that you can solve the problem adding this to the .htacess file, but it didn't fix the problem: AddType video/ogg .ogv AddType video/mp4 .mp4 AddType video/webm .webm
- 1 reply
-
- background-video
- mp4
-
(and 1 more)
Tagged with:
-
Ok, so i did another inspection, now on Firefox, i identified the element whose style i wanted to change and it was the class wpcf7-submit. So i added this to my custom css and now it's working: .wpcf7-submit { color: #ffffff !important; background: #014780; border-width: 1px !important; border-color: rgba(93,182,46,0.03); letter-spacing: 0px; font-size: 16px; font-family: 'Roboto', Helvetica, Arial, Lucida, sans-serif !important; padding-left: 0.7em; padding-right: 2em; padding: 0.3em 1em !important; display: inline-block; margin: 0 0 0 15px; font-family: inherit; cursor: pointer; float: right; padding: 0.3em 1em; border: 2px solid; -webkit-border-radius: 3px; -moz-border-radius: 3px; border-radius: 3px; font-size: 20px; font-weight: 500; line-height: 1.7em !important; -webkit-transition: all 0.2s; -moz-transition: all 0.2s; transition: all 0.2s; } Moral of the story: always try to do everything yourself. I copied the style from other site made by other person with the same WordPress theme. For being lazy i finished working more.
- 3 replies
-
- input[type=button]
- button
-
(and 1 more)
Tagged with:
-
I don't know, i just used the inspect element and copy/paste the code in my theme's custom CSS and replaced the background color for the color i wanted. I deleted the "i"s and the button lost its color. The "i"s are necesary.
- 3 replies
-
- input[type=button]
- button
-
(and 1 more)
Tagged with:
-
Hello, this is my site: https://www.centrovision.com.gt/#contactanos I have a contact form here with a blue submit button. Actually, only if you are using Chrome the button is blue, if you are using Firefox or Internet Explorer, you just get a default no-style html button. Why doesn't Firefox comply with my css?(i don't care about i.e). Here's my css for the button: input[type="button" i], input[type="submit" i], input[type="reset" i], input[type="file" i]::-webkit-file-upload-button, button { color: #ffffff !important; background: #014780; border-width: 1px !important; border-color: rgba(93,182,46,0.03); letter-spacing: 0px; font-size: 16px; font-family: 'Roboto', Helvetica, Arial, Lucida, sans-serif !important; padding-left: 0.7em; padding-right: 2em; padding: 0.3em 1em !important; display: inline-block; margin: 0 0 0 15px; font-family: inherit; cursor: pointer; float: right; padding: 0.3em 1em; border: 2px solid; -webkit-border-radius: 3px; -moz-border-radius: 3px; border-radius: 3px; font-size: 20px; font-weight: 500; line-height: 1.7em !important; -webkit-transition: all 0.2s; -moz-transition: all 0.2s; transition: all 0.2s; }
- 3 replies
-
- input[type=button]
- button
-
(and 1 more)
Tagged with:
-
Ok! now is displaying better stuff, but still doesn't show what i specified in the Yoast Plugin. I can't see my "HOLA MUNDO" yet, but at least is better than "FATAL ERROR".
-
Oh, it could be that. I hope so.(;・∀・)
-
But what do i do now? i don't know how to solve the error, because i left the header how it was, the error will keep appearing.
-
I left the header.php file how it was and now i am how i was in the beginning. What do i do now? the source code is showing the information provided in the Yoast SEO plugin, but the Google excerpt is still saying that can find the functions from the theme.
-
Sorry if this isn't the correct board for asking this question. This is my site: http://www.armonisencia.cl/site/ When you search "armonisencia" on Google, it displays the following (you can see it on the attached picture too): "Fatal error: Uncaught Error: Call to undefined function ... www.armonisencia.cl/site/ Traducir esta páginaFatal error: Uncaught Error: Call to undefined function elegant_description() in /home/armonisencia/public_html/site/wp-content/themes/DIVI/header.php:16 Stack trace: #0 /home/armonisencia/public_html/site/wp-includes/template.php(688): require_once() #1 ..." Maybe is some bug in my WordPress or something, but i decided i didn't want to look for the solution and i prefered to do the more simple stuff, i just edited my theme's header.php file and left the head element like this: <head> <title>Armonisencia</title> <meta charset="UTF-8"> <meta name="description" content="Naturaleza que funciona"> <meta name="keywords" content="Productos, Armonisencia"> <?php $template_directory_uri = get_template_directory_uri(); ?> <!--[if lt IE 9]> <script src="<?php echo esc_url( $template_directory_uri . '/js/html5.js"' ); ?>" type="text/javascript"></script> <![endif]--> <script type="text/javascript"> document.documentElement.className = 'js'; </script> <?php wp_head(); ?> </head> I made this change yesterday and today Google is still showing me the same ulgy data. How can i fix it?