Hack Forums
Configuration Issues [Paid Help] - Printable Version

+- Hack Forums (https://hackforums.net)
+-- Forum: Tech (https://hackforums.net/forumdisplay.php?fid=444)
+--- Forum: Webmasters (https://hackforums.net/forumdisplay.php?fid=141)
+---- Forum: Website Construction (https://hackforums.net/forumdisplay.php?fid=50)
+---- Thread: Configuration Issues [Paid Help] (/showthread.php?tid=4402164)



Configuration Issues [Paid Help] - Tirant - Aug 18, 2014

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.


* - Damdomy - Aug 18, 2014

What's the error? PHP should spit it out. Enable all error reporting. How many pages is the project?


* - Tirant - Aug 18, 2014

(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.


* - Damdomy - Aug 18, 2014

(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?


* - Tirant - Aug 18, 2014

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.


* - SlightlyNuclear - Aug 19, 2014

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.


* - Tirant - Aug 19, 2014

(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.


* - SlightlyNuclear - Aug 19, 2014

(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.


* - Tirant - Aug 19, 2014

(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.


* - SlightlyNuclear - Aug 19, 2014

(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.