Zen Cart Warning an Error Occurred Please Refresh the Page and Try Again

v157 nab_transact payment module has php fault when installing to fresh install of zencart

Hi,
I'm doing a fresh install of a zencart 1.5.7 , php version 7.0 and I've copied the files over for the NAB_transact payment module. I've used this module before for before versions of zencart; notwithstanding this time the module is giving me the following PHP error.

PHP Parse fault: syntax error, unexpected '[', expecting ',' or ';'
in "myadress"/includes/modules/payment/nab_transact_hpp.php on line 304

/myshop/admin/index.php?cmd=modules&gear up=payment, IP address: my ip
--> PHP Parse error: syntax error, unexpected '[', expecting ',' or ';' in "myaddress/includes/modules/payment/nab_transact_hpp.php on line 304.

I recollect line 304 is this.
global $$order_totals[$i]['code'];

Not knowing much about PHP I demand some ane to tell me what this line should be. In the by I was using PHP5.6 so I expect its got something to exercise with changes in the PHP version.


v157 Cannot Access Whatever Links on Admin > Configuration Menu

Zen Cart v1.5.7
PHP v7.3
MySQL 5.5.62-38.xiv
Website URL: https://birddogsnguns.com

Hello! I accept successfully moved zen cart from one server to a dissimilar server (in a unlike hosting account). I tin see the website and go through the checkout process, so all looks well there.

I can login to the admin panel and access everything EXCEPT the Configuration Card .

I made a mistake during the move that is probably causing the problem. Below is a description of that mistake and what I have washed so far to attempt to gear up it.

Mistake

After the movement, I forgot to delete the OLD admin folder (the one zen cart created during installation).

This binder contains the exact aforementioned configuration files as the NEW admin folder (which is equally it should exist).

I accidentally logged into the OLD admin dashboard and put the website downwardly for maintenance.
I realized my mistake and so logged into the correct, NEW admin dashboard.
That is when I discovered that I cannot admission anything under the Configuration Menu.

In the meantime, the website was showing equally "downwardly for maintenance" (remember, both admin folders are continued to the same database).

Steps I've Taken to Correct

  • I deleted the OLD admin folder and checked to exist sure everything was all the same okay on the storefront and that I could still login to the NEW admin dashboard. Both were fine; even so, I still could not access the Configuration Menu.
  • I re-uploaded all the files for the NEW admin binder again (making sure I was using the correct config files in includes and in admin/includes). Nonetheless unable to access the Configuration Bill of fare.
  • I logged into PHPMyAdmin and dropped all the tables in the database and and then imported the database again. Still unable to access the Configuration Card.

Somewhere while doing the above steps, the website no longer shows every bit beingness "down for maintenance" (I did non make a note of which stride).

I was able to add a new production and consummate the checkout process. I clicked on random links under each of the Chief Menu headings in the admin dashboard and was able to visit those pages. I just cannot access anything nether the Configuration Menu. Clicking that link does cipher - you remain on the admin dashboard domicile folio.

I restarted my computer and checked everything over again. Same results.

I practice non know what else to check or what other steps to attempt to resolve this problem.

I would capeesh any suggestions that would head me in the correct management.

v157 Attribute file upload bug?

In Zen Cart 1.v.vii, a file uploaded with an order as an aspect is attainable via the admin. Very nice add-on!!

But if the file uploaded contains a period in the file proper name, it cannot be downloaded. The file exists on the server so is uploaded properly.

To 'fix' this, I edited /ADMIN/includes/functions/general.php line 3847
Information technology was:
return $filenum . "." . $filetype;

it is now:
return $filenum . "." . pathinfo($filename, PATHINFO_EXTENSION);

v156 products are not always existence sold at the same price

Site has had issues in the by but upgrading to 1.5.vi cured the only remaining issue nosotros knew of simply all of these orders occurred since the upgrade to one.v.6. PHP vii.iii.22 (upgraded on new folders, completely default files). Database had had alterations in the past just looks to be dang close to where information technology's supposed to be.

This is ane bizarre thing where a production sells at a unlike toll at different times. Set up toll for this i product is 137 with attributes, some of which cost extra. This has happened at least v times over the last 4 months. If an attribute that costs forty is added, the terminal cost is 47.81 instead of the 182. If no attributes added that take additional cost, the final cost is l.81. One social club had an attribute of 200 but terminal price was 230 when base price was a little lower at 126 where the last price should exist 326.

Only orders exist for the total, correct amount likewise, with or without actress cost attributes.

The products sold table says price 137.95 and terminal toll 47.81, etc.

This was the product the owner noticed - that does not mean there aren't others.

Customers accept no discounts, at that place are no grouping discounts. No sales info, special pricing. No mods that affect pricing or cadre file changes. Template is standard 1 I always utilize and only has a few alterations in checkout for brandish simply.

Customers from different countries using unlike payment methods.

I only don't see any tendency here. Anyone got a guess?

v157 Change Qty value from '0'

This isn't a issues, it's a 'how to' question.

I idea this would be pretty straightforward, withal I've been futzing effectually with the product cost settings and can't effigy this one out. And, I haven't been able to find a thread with a similar question.

Delight look at the attached pdf. I but want to modify the value from zero to 25. Where/how do I do that?

Server Os: Linux 3.12.eighteen-clouder0
HTTP Server: Apache/two.4.39 (Unix) mod_hive/6.27 OpenSSL/1.0.1e-fips mod_fastcgi/2.four.6
PHP Version: vii.iv.4 (Zend: iii.iv.0)
Database Engine: MySQL v.6.36-82.1-log

Thanks in advance,

GeneName:  Quantity-to-25.jpg  Views: 3  Size:  51.4 KB

Fastened Images

v157 Mistake on Admin folio

When I copied the files from v157 test site to my current site, I got the post-obit error on the admin folio (it does not appear on the admin folio for the examination site):

WARNING: An Error occurred, please refresh the page and try again.If you lot were entering data, press the BACK button in your browser and re-cheque the information you had entered to be sure you left no blank fields.

A check of the fault log gives:

[24-Sep-2020 13:18:43 America/Boise] Request URI: /admin/, IP address: 50.49.199.232
#1 trigger_error() called at [/home1/pazdarwi/public_html/includes/classes/db/mysql/query_factory.php:170]
#two queryFactory->show_error() called at [/home1/pazdarwi/public_html/includes/classes/db/mysql/query_factory.php:142]
#3 queryFactory->set_error() called at [/home1/pazdarwi/public_html/includes/classes/db/mysql/query_factory.php:269]
#4 queryFactory->Execute() chosen at [/home1/pazdarwi/public_html/admin/includes/classes/WhosOnline.php:132]
#5 WhosOnline->think() called at [/home1/pazdarwi/public_html/admin/includes/classes/WhosOnline.php:213]
#half dozen WhosOnline->getStats() called at [/home1/pazdarwi/public_html/admin/includes/modules/dashboard_widgets/WhosOnlineDashboardWidget.php:15]
#7 include(/home1/pazdarwi/public_html/admin/includes/modules/dashboard_widgets/WhosOnlineDashboardWidget.php) called at [/home1/pazdarwi/public_html/admin/index_dashboard.php:62]
#8 require(/home1/pazdarwi/public_html/admin/index_dashboard.php) called at [/home1/pazdarwi/public_html/admin/home.php:25]
#ix require(/home1/pazdarwi/public_html/admin/domicile.php) called at [/home1/pazdarwi/public_html/admin/index.php:11]
--> PHP Fatal mistake: 1267:Illegal mix of collations (latin1_general_ci,IMPLICIT) and (latin1_swedish_ci,IMPLICIT) for functioning '=' :: SELECT customer_id, full_name, ip_address, time_entry, time_last_click, last_page_url, session_id, host_address, user_agent, southward.value every bit session_data
FROM zen_whos_online w
LEFT OUTER Bring together zen_sessions due south ON (south.sesskey = due west.session_id)
WHERE ip_address != '' AND ip_address NOT IN ('your','IP','(ADMIN)','184.9.94.48','184.12.51.nine','50.49.199.232','50.49.199.23 2')
ORDER BY time_entry, LPAD(ip_address,11,'0') ==> (as called by) /home1/pazdarwi/public_html/kkdt/includes/classes/WhosOnline.php on line 132 <== in /home1/pazdarwi/public_html/includes/classes/db/mysql/query_factory.php on line 170.

Please note my admin site has a different proper name, I just changed in the mistake message for security.

It is currently being run with: PHP Version: 5.6.40 (Zend: 2.half dozen.0). This volition be changed sometime in the next week or two.

v157 Fatal mistake: 1267:Illegal mix of collations

When I copied the files from v157 examination site to my electric current site, I got the following fault on the admin page (information technology does non appear on the admin folio for the examination site):

Alert: An Fault occurred, please refresh the folio and try over again.If y'all were inbound information, press the Back button in your browser and re-bank check the information you had entered to be sure you lot left no blank fields.

A check of the error log gives:

[24-Sep-2020 13:xviii:43 America/Boise] Request URI: /admin/, IP accost: 50.49.199.232
#1 trigger_error() chosen at [/home1/pazdarwi/public_html/includes/classes/db/mysql/query_factory.php:170]
#ii queryFactory->show_error() called at [/home1/pazdarwi/public_html/includes/classes/db/mysql/query_factory.php:142]
#3 queryFactory->set_error() called at [/home1/pazdarwi/public_html/includes/classes/db/mysql/query_factory.php:269]
#iv queryFactory->Execute() chosen at [/home1/pazdarwi/public_html/admin/includes/classes/WhosOnline.php:132]
#v WhosOnline->retrieve() called at [/home1/pazdarwi/public_html/admin/includes/classes/WhosOnline.php:213]
#6 WhosOnline->getStats() called at [/home1/pazdarwi/public_html/admin/includes/modules/dashboard_widgets/WhosOnlineDashboardWidget.php:15]
#7 include(/home1/pazdarwi/public_html/admin/includes/modules/dashboard_widgets/WhosOnlineDashboardWidget.php) called at [/home1/pazdarwi/public_html/admin/index_dashboard.php:62]
#8 require(/home1/pazdarwi/public_html/admin/index_dashboard.php) called at [/home1/pazdarwi/public_html/admin/abode.php:25]
#9 crave(/home1/pazdarwi/public_html/admin/home.php) called at [/home1/pazdarwi/public_html/admin/index.php:11]
--> PHP Fatal error: 1267:Illegal mix of collations (latin1_general_ci,IMPLICIT) and (latin1_swedish_ci,IMPLICIT) for performance '=' :: SELECT customer_id, full_name, ip_address, time_entry, time_last_click, last_page_url, session_id, host_address, user_agent, southward.value as session_data
FROM zen_whos_online w
LEFT OUTER JOIN zen_sessions due south ON (south.sesskey = due west.session_id)
WHERE ip_address != '' AND ip_address Non IN ('your','IP','(ADMIN)','184.nine.94.48','184.12.51.9','50.49.199.232','50.49.199.23 2')
Club BY time_entry, LPAD(ip_address,11,'0') ==> (equally called by) /home1/pazdarwi/public_html/kkdt/includes/classes/WhosOnline.php on line 132 <== in /home1/pazdarwi/public_html/includes/classes/db/mysql/query_factory.php on line 170.

Please note my admin site has a unlike name, I just inverse in the error message for security.

Information technology is currently being run with: PHP Version: 5.6.40 (Zend: 2.6.0). This will be changed erstwhile in the next calendar week or two.

v156 Pop-Up Invitation on Home Page

Hello,

The owner of our site (canemasters.com) mentioned going on a site that employed a pop-up invitation on the home page for a call to activeness (like join our group, create an business relationship etc.) and receive a premium; the visitor can besides opt to featherbed the popular-up and go along to the home page. Is there a Zencart plug in that offers this feature?

Thank you,

Steve


v157 Attribute file upload bug if too many periods in filename?

In Zen Cart 1.5.7, a file uploaded with an club as an attribute is accessible via the admin. Very nice addition!!

But if the file uploaded contains a period in the file name, it cannot be downloaded. The file exists on the server so is uploaded properly.

To 'set' this, I edited /ADMIN/includes/functions/general.php line 3847
It was:
return $filenum . "." . $filetype;

information technology is now:
return $filenum . "." . pathinfo($filename, PATHINFO_EXTENSION);

v157 Categories/Products missing in admin surface area

I upgraded a site from v1.v.v to v 1.5.7
The problem I have is the Categories/Products tab is missing from the Catalog driblet down menu in the admin panel.

Click image for larger version.     Name:	admin_missing_tab.jpg   Views:	21   Size:	11.8 KB   ID:	19217

I believe all the related files are on the server.
Categories and Products show up in the store and configuration settings/groups are in the database.

In that location is no error log for this issue either.

Scratching my head - needing some help. :wacko:

Fastened Images

v151 Storing images on a unlike server to Zen-cart plan

Hi

Is it possible to make a configuration change so that all new images added to the database are stored on a different server.?

Zen-cart currently runs on digi-books.org.u.k. but we are migrating to an unlimited host at digi-books.org.

So what I am request is when we add an author or a volume cover can that be stored on the latter server automatically?

Thanks in advance

v151 Storing images on a different server?

Hi

Is it possible to make a configuration change and so that all new images added to the database are stored on a dissimilar server.?

My zen-cart currently runs on digi-books.org.uk simply nosotros are migrating to an unlimited host at digi-books.org.

So what I am asking is when we add an author or a book embrace can that be stored on the latter server automatically?

Thanks in advance

v156 No upgrade offered on zc157 upgrade

UPDATE: Never listen, I didn't copy over the proper configure.php files.

Attached Images

v157 Fatal error: 1146:Table plugin_control' doesn't exist

Skilful evening.
It'southward been a while.

I'one thousand doing a fresh install of one.5.7 on WAMP and using the existing database from one.5.5.d. I did a clean install to ensure it installed as expected (information technology did). I then dropped the DB and imported a re-create of the 1.5.v site DB. I ran the zc_install/index.php again expecting the pick to 'upgrade' the DB. No luck unfortunately.
I'm receiving 'WARNING: An Fault occurred, please refresh the page and try again.' on the page and the following mistake log. Is there a SQL query to add the required PluginManager to the database perhaps?

HTML Code:


#ane  trigger_error() called at [C:\wampsites\zencart\includes\classes\db\mysql\query_factory.php:170]
#2  queryFactory->show_error() called at [C:\wampsites\zencart\includes\classes\db\mysql\query_factory.php:142]
#3  queryFactory->set_error() called at [C:\wampsites\zencart\includes\classes\db\mysql\query_factory.php:226]
#4  queryFactory->Execute() called at [C:\wampsites\zencart\includes\classes\PluginManager.php:29]
#5  Zencart\PluginManager\PluginManager->getInstalledPlugins() chosen at [C:\wampsites\zencart\includes\application_top.php:189]
#6  require(C:\wampsites\zencart\includes\application_top.php) called at [C:\wampsites\zencart\index.php:25]
--> PHP Fatal error: 1146:Table 'zencart157.plugin_control' doesn't exist :: SELECT * FROM plugin_control WHERE status = one ==> (as called past) C:\wampsites\zencart\includes\classes\PluginManager.php on line 29 <== in C:\wampsites\zencart\includes\classes\db\mysql\query_factory.php on line 170.


v155 Couple of problems affecting page load speed

v1.5.5f westminster_new template

one. Google Lighthouse is suggesting DOCTYPE is causing problems - (likely because information technology is not HTML5 ?? - is upgrading the but way to resolve this?).

HTML Code:


Browser Compatibility
Page lacks the HTML doctype, thus triggering quirks-modeExpected publicId to be an empty cord
Specifying a doctype prevents the browser from switching to quirks-mode


This is my DOCTYPE: <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" <?php repeat HTML_PARAMS; ?>>

ii. Tin can I simply change this to 'yes' without affecting the site?;

HTML Code:


All-time practicesThese items highlight common accessibility all-time practices.
[user-scalable="no"] is used in the <meta name="viewport"> element or the [maximum-scale] attribute is less than five.
Disabling zooming is problematic for users with low vision who rely on screen magnification to properly come across the contents of a web page. Larn more than.
Failing Elements
meta
<meta proper noun="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=1.0, minimum-calibration=one.0, user-scalable=no">


3. Tin this javascript be upgraded to a newer version? (or does this require a ZC version upgrade?);

HTML Code:


Trust and Safety
Includes forepart-end JavaScript libraries with known security vulnerabilities 4 vulnerabilities detected
Some third-party scripts may comprise known security vulnerabilities that are easily identified and exploited by attackers. Acquire more.
Library Version: jQuery@i.11.1
Vulnerability Count: 4
Highest Severity: Medium


4. Avert certificate.write()
For users on dull connections, external scripts dynamically injected via `certificate.write()` can delay folio load by tens of seconds. Learn more.
URL Location: https://www.dazzlerscliponearrings.com.au
line: 32

HTML Code:


<script type="text/javascript">window.jQuery || document.write(unescape('%3Cscript type="text/javascript" src="//code.jquery.com/jquery-1.11.1.min.js"%3E%3C/script%3E'));</script>
<script type="text/javascript">window.jQuery || document.write(unescape('%3Cscript type="text/javascript" src="includes/templates/westminster_new/jscript/jquery.min.js"%3E%3C/script%3E'));</sc


Cheers,
Mike


PHP Version

i accept to upgrade my version of PHP on my server hosting the zen cart. What is the latest version of PHP I can go to and the latest version of zencart will piece of work?

v157 SitemapXML v4 [Support thread]

uploading shortly a new update for Site Map XML to version four for ZC1.5.7 if accustomed, should show up on information technology's own. If yous are interested in helping out, got some ideas or just desire something to play with, GitHub location.

I withal have some things I want to play with, but for now as is it's working as earlier on ZC1.5.7 and PHP7.4 with allot easier install. A number of files was changed or deleted, thus I would non suggest this as a piece of cake update, but a new install.

v155 Tertiary Party Redirect + Chrome 84

Hullo All,

for my credit card payments I'chiliad using a third-party redirect payment gateway.

I've been noticing sometimes that the customers card gets charged, just when they are redirected, their session ends and information technology doesn't complete the lodge.

Looking at my access logs I've noticed one consistent pattern, it always seems to be Chrome 84.

Has anyone else seen this outcome? Cheers.

v155 customers getting error:electronic mail and password not recognized.

www.itsaquiltthing.com version 1.5.5d. original installation 1.iii.seven upgraded by webmaster. php 7.0.33

Mistake started happening a couple o of days ago...multiple customers (possibly all?) webmaster suggested they clear cache and cookies, and reset password...did all that...still getting error...

Most customers not able to log in. A couple who got logged in tried putting things in their cart, only to have information technology prove nothing items in cart. I use zencart, but don't know a lot about it (that's why I take a webmaster!) Webmaster doesn't see it as a zencart upshot, but with information technology happening with multiple customers in the United states of america, outside the U.s....ideas/suggestions anyone?

v157 Had to Make clean Install v157 now tin't get my Database to work

www.cpardydesign.com
Version v157

Hello I recently was adding an addon to my v156 Shop, and messed up somewhere so that I couldn't admission my Admin. I had fabricated a backup of both the site and the database before doing so. When I went back to re-install from my backups aught fixed the upshot.

Since it was an older version I decided to practise a Clean Install of v157. I used the original database with all my production (there's a lot with a lot of attributes) and customers. When completing the install, at that place is absolutely Zip in my Shop anymore.

I tried importing the backup of the database previously used in MySql, but it gives me this fault:

Quote:


Error
SQL query:

-- --------------------------------------------------------

--
-- Tabular array structure for table `address_book`
--

CREATE TABLE `address_book` (
`address_book_id` int(xi) NOT NULL,
`customers_id` int(xi) Non Nothing DEFAULT '0',
`entry_gender` char(1) NOT NULL DEFAULT '',
`entry_company` varchar(64) DEFAULT Zip,
`entry_firstname` varchar(32) Not Cypher DEFAULT '',
`entry_lastname` varchar(32) Non Zero DEFAULT '',
`entry_street_address` varchar(64) NOT Cipher DEFAULT '',
`entry_suburb` varchar(32) DEFAULT Zippo,
`entry_postcode` varchar(10) Not Cipher DEFAULT '',
`entry_city` varchar(32) Not NULL DEFAULT '',
`entry_state` varchar(32) DEFAULT Null,
`entry_country_id` int(xi) Non NULL DEFAULT '0',
`entry_zone_id` int(11) Non Nada DEFAULT '0'
) ENGINE=MyISAM DEFAULT CHARSET=utf8mb4
MySQL said: Documentation

#1050 - Table 'address_book' already exists


Is in that location any hope that I don't take to completely redo ALL of my products from scratch?

I'm not too worry well-nigh the customizations of the template itself... that I can fix easily.

villarealmycou1966.blogspot.com

Source: https://uredo4.rssing.com/chan-3492245/all_p922.html

0 Response to "Zen Cart Warning an Error Occurred Please Refresh the Page and Try Again"

Postar um comentário

Iklan Atas Artikel

Iklan Tengah Artikel 1

Iklan Tengah Artikel 2

Iklan Bawah Artikel