Phapper icon indicating copy to clipboard operation
Phapper copied to clipboard

Missing responseparser.php

Open micomator opened this issue 9 years ago • 8 comments

micomator avatar Sep 09 '16 17:09 micomator

Yup. And removing/commenting the require_once for it just produces another error. I cannot find that file in older commits either.

codeandbattle avatar Sep 25 '16 12:09 codeandbattle

https://github.com/rotorcowboy/Phapper/commit/5e03e18bce3ca1be8448632ad736cdde8ab1eacf

This appears to be the commit where they added responseparser.php to phapper.php - but even in this commit the file is not there.

codeandbattle avatar Sep 25 '16 12:09 codeandbattle

+1

Voral avatar Nov 26 '16 05:11 Voral

+1

jorgegil96 avatar Dec 26 '16 05:12 jorgegil96

I got it to work by removing that line and didn't get any error besides the ones for not having a config.php file

jorgegil96 avatar Dec 26 '16 19:12 jorgegil96

Hope someone could help me on this:

Relatively new to OO Api's. I have followed the get started so far, and I have the above issue however if i remove

require_once(__DIR__.'/inc/responseparser.php'); i get the following errors:

PHP Fatal error:  Uncaught Error: Class 'PhapperConfig' not found in D:\Documents\Reddit\Phapper-master\src\phapper.php:28
Stack trace:
#0 D:\Documents\Reddit\Phapper-master\fileThatDoesGetMe.php(4): Phapper->__construct()
#1 {main}
  thrown in D:\Documents\Reddit\Phapper-master\src\phapper.php on line 28

How did you guys ( @jorgegil96 ) manage to fix your errors? Like i said i tried removing the require once line as you said. Let me know if you need screenshots or anything else Thank You Kish

kishan-v avatar Sep 12 '17 20:09 kishan-v

You need to create your own version of the PhapperConfig. There's a sample file config.sample.php https://github.com/rotorcowboy/Phapper/blob/master/config.sample.php

jorgegil96 avatar Sep 13 '17 02:09 jorgegil96

Thanks a lot @jorgegil96 that works now, however i have a new issue now:

https://github.com/rotorcowboy/Phapper/issues/5

kishan-v avatar Sep 16 '17 09:09 kishan-v