kirilkirkov / Ecommerce-CodeIgniter-Bootstrap

Responsive, Multi-Vendor, MultiLanguage Online Store Platform (shopping cart solution)
MIT License
1.31k stars 952 forks source link

PHP Error - undefined variable url #225

Closed carbon0021 closed 3 years ago

carbon0021 commented 3 years ago

Capture

samsul253 commented 3 years ago

Is there any solutions for it, I have same issue. Thank you.

daniyalhussain32 commented 3 years ago

Hi, @samsul253, @carbon0021 i have found the porblem.

Actually, it's $uri not $url so in helper there is little mistake. Everything is not free sometime we need pay for it and the thing that we pay for such free apps is time.

What you need to do to solve the problem : go to system > helpers > url_helper then on line 87 change $url to $uri Screenshot_50

ugintl commented 3 years ago

@daniyalhussain32 good catch. I am seeing following error. Did you come around this one as well? I am using php 7.4.

Deprecated: __autoload() is deprecated, use spl_autoload_register() instead in C:\laragon\etc\php\pear\PHPMailer\PHPMailerAutoload.php on line 45

kirilkirkov commented 3 years ago

@daniyalhussain32 that fix is uploaded with commit - https://github.com/kirilkirkov/Ecommerce-CodeIgniter-Bootstrap/commit/cf884e737b72743880abc8bb2aa4e681e5e88cac

@ugintl What a version of php you use?

ugintl commented 3 years ago

@kirilkirkov 7.4

kirilkirkov commented 3 years ago

@ugintl go to that file and change __autoload to spl_autoload_register. or downgrade your version