Post by sergiomng » Sat Jun 01, 2019 10:04 am

I'm trying to install a OpenPay extension in my OpenCart server.

At the beginning, I've got a lot of errors about folder permissions, which I fixed one by one by editing the admin/controller/marketplace/instal.php file, and adding them to the allowed array.

Now those errors are gone, but now I've got this error that is shown as a popup window (so I can't copy/paste it here) saying:

Code: Select all

Syntax Error: Unexpected token <
and a lot of lines..
I'm attaching the image so you can see these errors.

All the files mentioned there as "No such file or directory in..." exists and they're are actually there.

I've noticed that the rename functions are incomplete, for example:

Code: Select all

rename(/home/..../storageOC/.../Openpay.php,)
As you can see, there is no value after the comma.

I'm using OpenCart 3.0.3.1 and the OS is Linux.

Any help will be really appreciated!!

Attachments

Clipboard03.png

Clipboard03.png (573.26 KiB) Viewed 803 times


Newbie

Posts

Joined
Fri Mar 29, 2019 3:32 am

Post by straightlight » Sat Jun 01, 2019 10:06 am

I'm trying to install a OpenPay extension in my OpenCart server.
Contact the extension developer to resolved this issue.

Dedication and passion goes to those who are able to push and merge a project.

Regards,
Straightlight
Programmer / Opencart Tester


Legendary Member

Posts

Joined
Mon Nov 14, 2011 11:38 pm
Location - Canada, ON

Post by cedcommerceteam » Sat Jun 01, 2019 1:41 pm

Hello Sergiomng,

Code: Select all

Syntax Error: Unexpected token <
You have to check file where you have done changes, by mistake < this sign is left in file, remove this & your issue will resolve.

Syntax for renaming a file or folder is : rename(oldname, newname, context), context is optional, please once check the file which you are trying to replace exists or not and there is a permission issue i.e., while renaming is can't able to create new file and giving mkdir() no such file or directory. Please check that folder where you are trying to create new file / folder. Give permission to folder where you want to create new file/folder.

Note: If using Linux OS then check for file/folder permission. It should be 755 for applying any update in core files.

Thanks & Regards :

Call us at : (+91) -8765210318 , Skype: live:carlmorgan.cedcommerce , Email: support@cedcommerce.com
CedCommerece : Officail Opencart Partners
CedCommerce Official : www.cedcommerce.com
Opencart Services : www.cedcommerce/opencart-services.com
Sell On various Marketplace Integration : Opencart-Extensions
Magenative Mobile App/IOS Development : magenative.com
Webinar : Power up Your holiday season marketing with the Automation tool


User avatar
Active Member

Posts

Joined
Wed Aug 09, 2017 9:02 pm
Who is online

Users browsing this forum: No registered users and 54 guests