Okay. Basically, I need someone help me find where I made the mistake that is causing an issue with one of my pages on my website.
The website is in PHP
And I need help locating a page to edit, simple shit.
If you think you can do it Ill give you 10$, I believe its a simple fix, I just don't know where I went wrong.
What's the error? PHP should spit it out. Enable all error reporting. How many pages is the project?
(Aug 18, 2014 08:07 AM)Damdomy Wrote: What's the error? PHP should spit it out. Enable all error reporting. How many pages is the project?
I really only NEED to get 1 thing fixed ( a single page ), i just would appreciate it if you could help me locate something I need to edit is all.
Code Fatal error: Call to a member function prepare() on a non-object in C:\xampp\htdocs\engine\server_modules\trinity\realm.stats.php on line 150
thats the error I am getting. It has to do with the configuration in one of the other folders thats not allowing it to call onto said function.
(Aug 18, 2014 08:09 AM)Tirant Wrote: I really only NEED to get 1 thing fixed ( a single page ), i just would appreciate it if you could help me locate something I need to edit is all.
Code Fatal error: Call to a member function prepare() on a non-object in C:\xampp\htdocs\engine\server_modules\trinity\realm.stats.php on line 150
thats the error I am getting. It has to do with the configuration in one of the other folders thats not allowing it to call onto said function.
Is it a class? Are you passing pdo/mysqli to it?
Aug 18, 2014 02:42 PM
(This post was last modified: Aug 18, 2014 06:14 PM by Tirant.)
Bump, I need to get this done.
Single page job, if u know what ur doing it should be very easy.
Bump
still need to get this done, could possibly pay more for a couple more things if you are interested.
DO NOT DEAL WITH THIS MEMBER
You're calling prepare() on a non-object - isn't that obvious? Whatever you're calling prepare() on isn't an object capable of using that function.
(Aug 19, 2014 09:59 AM)SlightlyNuclear Wrote: You're calling prepare() on a non-object - isn't that obvious? Whatever you're calling prepare() on isn't an object capable of using that function.
well, its a php configuration i simply couldnt find at the time.
I got it fixed though
- Thanks everyone.
DO NOT DEAL WITH THIS MEMBER
(Aug 19, 2014 03:30 PM)Tirant Wrote: well, its a php configuration i simply couldnt find at the time.
I got it fixed though
- Thanks everyone.
It's not a configuration error at all - you wouldn't get a non-object error for that.
(Aug 19, 2014 03:41 PM)SlightlyNuclear Wrote: It's not a configuration error at all - you wouldn't get a non-object error for that.
It was though, cuz it was found and I fixed it and it worked so...
Its calling on an object which needed to be configured, from my understanding and since I had something wrong in there, it didnt work.
DO NOT DEAL WITH THIS MEMBER
(Aug 19, 2014 03:51 PM)Tirant Wrote: It was though, cuz it was found and I fixed it and it worked so...
Its calling on an object which needed to be configured, from my understanding and since I had something wrong in there, it didnt work.
In future, improve your post details for a faster response. Aim to add all errors, what you're using and your "configuration" information. It'd also help to post it in the correct section.
|