Skip to content

Commit 8a8209a

Browse files
committed
Fixed 15 errors in Browser Console with this changeset.
1 parent 6227fde commit 8a8209a

File tree

15 files changed

+182
-129
lines changed

15 files changed

+182
-129
lines changed

README.md

Lines changed: 7 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,7 @@
11
# Advanced PHP 7 eCommerce Website
22

3-
An advanced and complete PHP 7 eCommerce website along with MySQL database and Admin interface.
3+
An advanced and complete PHP 7 eCommerce website along with MySQL database and
4+
Admin interface.
45

56
###### Table of Contents
67

@@ -75,15 +76,17 @@ project.
7576

7677
## License
7778

78-
This project is licensed under the `GNU Affero General Public License` License.
79+
This project is licensed under the `GNU Affero General Public License` License.
7980
See the [LICENSE][license] file for full details.
8081

8182
## Acknowledgements
8283

8384
Special thanks go out to the following people and projects who have helped in
8485
some way to make this project a reality.
8586

86-
- [@justinhartman/.github][.github] - for the Github project templates.
87+
- [CodingCyber][shopping-source] for the original source code that formed the
88+
basis of this project.
89+
- [@justinhartman/.github][.github] for the Github project templates.
8790

8891
[deploy]: #deployment
8992
[CONTRIBUTING]: CONTRIBUTING.md
@@ -96,3 +99,4 @@ some way to make this project a reality.
9699
[contribs]: https://github.com/justinhartman/complete-php7-ecom-website/contributors
97100
[author-1]: https://github.com/justinhartman
98101
[.github]: https://github.com/justinhartman/.github
102+
[shopping-source]: https://codingcyber.org/simple-shopping-cart-application-php-mysql-6394/

addtowishlist.php

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -47,3 +47,8 @@
4747
} else {
4848
header('location: wishlist.php');
4949
}
50+
51+
/**
52+
* Flush the object cache.
53+
*/
54+
ob_flush();

admin/order-process.php

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,10 @@
55
if (!isset($_SESSION['email']) & empty($_SESSION['email'])) {
66
header('location: login.php');
77
}
8+
/**
9+
* Flush the object cache.
10+
*/
11+
ob_flush();
812
?>
913
<?php include 'inc/header.php'; ?>
1014
<?php include 'inc/nav.php'; ?>

0 commit comments

Comments
 (0)