*

Own

  • **
  • 17 posts
 i am currently experiencing about 2 bugs that i need you to help with me that involves that listing.Keep in mind i did not experience this bugs with the previous theme that i was using . The Previous theme that i was using was "Sigma Osclass Theme".The New theme that i am using now is the "Epsilon Osclass Theme"

Bug 1
When i try to create a new ad on the listings as a regular user it would give me an issue and it would not allow me to upload the image. which ever file type i used or size it just would not allow me to upload the image.Interesting enough though when i log in as admin and i add an ad into the list it gives me no problems at all.

Bug 2
When i create an ad as a regular user it gives me the error log message .however though when i go back and head to the listings it shows that the ad did go throw.

Request
1) how do i fix the issue on allowing users to upload an image into an ad they can add on too
2) how do i fix this error when they try to create an ad it would give them this error?

Connecting to the POP3 server raised a PHP warning:errno: 2 errstr: fsockopen(): php_network_getaddresses: getaddrinfo failed: Name or service not known; errfile: /home/uorcwydso8d1/public_html/oc-includes/vendor/phpmailer/phpmailer/src/POP3.php; errline: 263

Connecting to the POP3 server raised a PHP warning:errno: 2 errstr: fsockopen(): php_network_getaddresses: getaddrinfo failed: Name or service not known; errfile: /home/uorcwydso8d1/public_html/oc-includes/vendor/phpmailer/phpmailer/src/POP3.php; errline: 263Connecting to the POP3 server raised a PHP warning:errno: 2 errstr: fsockopen(): Unable to connect to smtp.owhatsnext.com:465 (php_network_getaddresses: getaddrinfo failed: Name or service not known); errfile: /home/uorcwydso8d1/public_html/oc-includes/vendor/phpmailer/phpmailer/src/POP3.php; errline: 263

Connecting to the POP3 server raised a PHP warning:errno: 2 errstr: fsockopen(): php_network_getaddresses: getaddrinfo failed: Name or service not known; errfile: /home/uorcwydso8d1/public_html/oc-includes/vendor/phpmailer/phpmailer/src/POP3.php; errline: 263Connecting to the POP3 server raised a PHP warning:errno: 2 errstr: fsockopen(): Unable to connect to smtp.owhatsnext.com:465 (php_network_getaddresses: getaddrinfo failed: Name or service not known); errfile: /home/uorcwydso8d1/public_html/oc-includes/vendor/phpmailer/phpmailer/src/POP3.php; errline: 263Failed to connect to server smtp.owhatsnext.com on port 465. errno: 0; errstr: php_network_getaddresses: getaddrinfo failed: Name or service not known


Fatal error: Uncaught TypeError: fgets(): Argument #1 ($stream) must be of type resource, bool given in /home/uorcwydso8d1/public_html/oc-includes/vendor/phpmailer/phpmailer/src/POP3.php:372 Stack trace: #0 /home/uorcwydso8d1/public_html/oc-includes/vendor/phpmailer/phpmailer/src/POP3.php(372): fgets() #1 /home/uorcwydso8d1/public_html/oc-includes/vendor/phpmailer/phpmailer/src/POP3.php(345): PHPMailer\PHPMailer\POP3->getResponse() #2 /home/uorcwydso8d1/public_html/oc-includes/vendor/phpmailer/phpmailer/src/POP3.php(230): PHPMailer\PHPMailer\POP3->disconnect() #3 /home/uorcwydso8d1/public_html/oc-includes/vendor/phpmailer/phpmailer/src/POP3.php(182): PHPMailer\PHPMailer\POP3->authorise() #4 /home/uorcwydso8d1/public_html/oc-includes/osclass/utils.php(413): PHPMailer\PHPMailer\POP3::popBeforeSmtp() #5 /home/uorcwydso8d1/public_html/oc-includes/osclass/emails.php(1096): osc_sendMail() #6 /home/uorcwydso8d1/public_html/oc-includes/osclass/classes/Plugins.php(42): fn_email_admin_new_item() #7 /home/uorcwydso8d1/public_html/oc-includes/osclass/helpers/hPlugins.php(34): Plugins::runHook() #8 /home/uorcwydso8d1/public_html/oc-includes/osclass/ItemActions.php(619): osc_run_hook() #9 /home/uorcwydso8d1/public_html/oc-includes/osclass/ItemActions.php(301): ItemActions->sendEmails() #10 /home/uorcwydso8d1/public_html/oc-includes/osclass/controller/item.php(156): ItemActions->add() #11 /home/uorcwydso8d1/public_html/index.php(240): CWebItem->doModel() #12 {main} thrown in /home/uorcwydso8d1/public_html/oc-includes/vendor/phpmailer/phpmailer/src/POP3.php on line 372

due keep in mind i did contact the seller and this was his reply....

Hello
1. Is probably wrong chmod on server. Not related to theme at all, please use support forums.
2. Error from mail server. Wrongly configured. Check documentation and discuss with hosting provider. Not theme related.
--
Regards,
MB Themes

Please reply to this forum giving me step by step on how to fix bug 1 and bug 2

*

MB Themes

1) check file permissions on uploads folder. Check browser console & network tabs
2) self-explanatory:
Unable to connect to smtp.owhatsnext.com:465

Not quite sure why you use pop3.
Do not see any reference to theme. Hard to believe it would work on any other theme  :'(
  To get fast support, we need following details: Detail description, URL to reproduce problem, Screenshots

*

Own

  • **
  • 17 posts
1) check file permissions on uploads folder. Check browser console & network tabs

1- i went to the following directory public_html/oc-content/downloads/oc-temp/core-811/oc-content/uploads and changed the folder permission "uploads too 777 and everything inside that folder i have changed it to 777 as well . i check it out again in the website and yet the same issue.

Part 1

*

Own

  • **
  • 17 posts
1) check file permissions on uploads folder. Check browser console & network tabs

here is a text and image copy of the console and network tab

[FineUploader 3.8.0] Error when attempting to parse xhr response text (Unexpected token '<', "<!-- Googl"... is not valid JSON)
qq.log @ jquery.fineuploader.min.js:16
log @ jquery.fineuploader.min.js:16
log @ jquery.fineuploader.min.js:16
o @ jquery.fineuploader.min.js:18
s @ jquery.fineuploader.min.js:18
(anonymous) @ jquery.fineuploader.min.js:18
XMLHttpRequest.send (async)
D @ jquery.fineuploader.min.js:18
E @ jquery.fineuploader.min.js:18
upload @ jquery.fineuploader.min.js:17
upload @ jquery.fineuploader.min.js:17
_onSubmitCallbackSuccess @ jquery.fineuploader.min.js:16
(anonymous) @ jquery.fineuploader.min.js:16
_handleCheckedCallback @ jquery.fineuploader.min.js:16
_upload @ jquery.fineuploader.min.js:16
_onValidateCallbackSuccess @ jquery.fineuploader.min.js:16
(anonymous) @ jquery.fineuploader.min.js:16
_handleCheckedCallback @ jquery.fineuploader.min.js:16
_onValidateBatchCallbackSuccess @ jquery.fineuploader.min.js:16
(anonymous) @ jquery.fineuploader.min.js:16
_handleCheckedCallback @ jquery.fineuploader.min.js:16
_prepareItemsForUpload @ jquery.fineuploader.min.js:16
_prepareItemsForUpload @ jquery.fineuploader.min.js:17
addFiles @ jquery.fineuploader.min.js:16
_onInputChange @ jquery.fineuploader.min.js:16
onChange @ jquery.fineuploader.min.js:16
(anonymous) @ jquery.fineuploader.min.js:16

Part 2 and finaly for statement number 1

*

MB Themes

I would say you've added some code into core that starts with "<!-- Googl" and is part of ajax call as well - and of course invalid as it breaks json format
  To get fast support, we need following details: Detail description, URL to reproduce problem, Screenshots

*

Own

  • **
  • 17 posts
the issue has been resolved thank you very much for the help.

bug number 1
i fixed the issue by removing the google script that was created by ad sense and it now allows me to upload photos and images with out any issues.

bug number 2
i contacted godaddy by phone and told them that the issue could be the mod_ssl .
Godaddy has informed me that issue was the fact the company who sets up PHPmyadmin which is "hesk" the administrator has placed a restriction upon the file. they made some changes for me upon my request and i yet than came across a new error . this error was created when i went to the mail server and i hit test mail and hit refresh. in just a few mins it would show. The error would no longer be an issue and it would only show if i used the mail server settings on SSL but the error would not show if i did test server on a non-SSL . i am no longer experincing an error for using on creating post . but i am still having issues with the mail servers. THAT another bug that i will handle later on in the next 2 weeks.

Code: [Select]
Fatal error: Uncaught Error: Call to a member function numRows() on bool in /home/uorcwydso8d1/public_html/oc-includes/osclass/model/Admin.php:70 Stack trace: #0 /home/uorcwydso8d1/public_html/oc-includes/osclass/model/Admin.php(52): Admin->__construct() #1 /home/uorcwydso8d1/public_html/oc-includes/osclass/classes/AdminMenu.php(64): Admin::newInstance() #2 /home/uorcwydso8d1/public_html/oc-load.php(325): AdminMenu->init() #3 /home/uorcwydso8d1/public_html/oc-admin/index.php(22): require_once('/home/uorcwydso...') #4 {main} thrown in /home/uorcwydso8d1/public_html/oc-includes/osclass/model/Admin.php on line 70

Fatal error: Uncaught Error: Call to a member function numRows() on bool in /home/uorcwydso8d1/public_html/oc-includes/osclass/model/Admin.php:70 Stack trace: #0 /home/uorcwydso8d1/public_html/oc-includes/osclass/model/Admin.php(52): Admin->__construct() #1 /home/uorcwydso8d1/public_html/oc-includes/osclass/helpers/hUsers.php(213): Admin::newInstance() #2 /home/uorcwydso8d1/public_html/oc-includes/osclass/classes/database/DBConnectionClass.php(172): osc_is_admin_user_logged_in() #3 [internal function]: DBConnectionClass->__destruct() #4 {main} thrown in /home/uorcwydso8d1/public_html/oc-includes/osclass/model/Admin.php on line 70
« Last Edit: March 08, 2023, 12:47:11 PM by MB Themes »