Comments (6)
Hey
Try this
'SITE_ROOT',DS.'..'.DS.'uploads/users';
if it's doesn't solve your problem then replace it with this
public $userPath = 'uploads/users';
public $productPath = 'uploads/products';
Thank you.
from warehouse-inventory-system.
Hello Siamon123
Thanks for the quick reply but it did not help.
When I use this code:
public $userPath ='SITE_ROOT',DS.'..'.DS.'uploads/users';
public $productPath = 'SITE_ROOT',DS.'..'.DS.'uploads/products';
I do not get the login page but I get this error:
Parse error: syntax error, unexpected 'DS' (T_STRING), expecting variable (T_VARIABLE) in C:\wamp\www\inventorysystem\includes\upload.php on line 10
When I use this code:
public $userPath = 'uploads/users';
public $productPath = 'uploads/products';
I get to the login page. I'm then redirected to the page http://localhost/inventorysystem/home.php
Error on this Query :
SHOW TABLES FROM inventoryproj-db LIKE "users"
"inventoryproj-db" being the name I gave the database on my system.
Thanks
from warehouse-inventory-system.
NO problem,
just logout and login back.
from warehouse-inventory-system.
still does not work.
I used http://localhost/inventorysystem/index.php to logout.
When I log back in I'm then redirected to the page http://localhost/inventorysystem/home.php
Error on this Query :
SHOW TABLES FROM inventoryproj-db LIKE "users"
from warehouse-inventory-system.
index.php doesn't has logout function, it's should be
http://localhost/inventorysystem/logout.php
And you getting that error from this function, either DB_NAME or table not exit.you can find this function in sql.php
tableExists($table)
from warehouse-inventory-system.
Hello Siamon,
The problem was the database name. I changed it from "inventoryproj-db" to "inventoryprojdb" and everything works fine now.
Thanks for the tips.
Ryan
from warehouse-inventory-system.
Related Issues (20)
- I cannot add or edit a profile picture, please help.
- Changing datetime HOT 2
- how change the timezone of the system? HOT 2
- Not Show Icon
- Error on this Query : SHOW TABLES FROM uw-inventario LIKE "users" HOT 1
- Changing the sale value HOT 1
- set up everything and error happens after login HOT 1
- Doesn`t load the index page HOT 3
- am not able to make changes to the index page background or anything in style sheet HOT 2
- Session Start issue HOT 1
- Error on this query HOT 1
- Looking for support? Improvements?
- [Error] - I can sell more than I have in stock HOT 1
- me da un error en upload
- Installation HOT 1
- Error en daily and monthly
- CSRF Change Admin Password
- load barcode
- Can't start session after log in
- Hello developers, can you add a version number?
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from warehouse-inventory-system.