Ad blocker detected: Our website is made possible by displaying online advertisements to our visitors. Disable your ad blocker to continue using our website.
Zipur Bundler - Free
blank page - Zipur Bundler - Free
by Omar_one » Mon Jul 18, 2022 8:02 pm
Hello Preston,
I got blank page when I visit the zipur_bundler page
and error_log file shows
Code: Select all
PHP Parse error: syntax error, unexpected '' (T_ENCAPSED_AND_WHITESPACE), expecting '-' or identifier (T_STRING) or variable (T_VARIABLE) or number (T_NUM_STRING) in /home/test/public_html/shop/admin/zipur_bundler_free.php on line 247
and the lines 242-251
Code: Select all
foreach ( $itemlist as $item ) {
$itemcount ++;
$action = '';
$zipoptionalcheck = zipVarCheck( "zipoptional{$optionaltype}{$itemcount}", 0 );
if ( $item['type'] == 'ajax' ) {
$action = $item['action'];
if ( ! $proceed ) {
$action .= ( empty( $item['optional'] ) ) ? '' : ' (' . TEXT_THIS_UPDATE_OPTIONAL . ')' . '<select name="zipoptional' . $optionaltype . $itemcount . '"><option value="0">' . TEXT_UPDATES_ACTION_PROCEED . '</option><option value="1">' . TEXT_UPDATES_ACTION_SKIP . '</option></select>';
}
Phoenixcart 1.0.8.14
Server OS: Linux 3.10.0-1160.53.1.el7.x86_64
Database: MySQL 10.3.35-MariaDB
HTTP Server: Apache
PHP Version: 7.2.34 (Zend 3.2.0)
Thank you
-
Omar_one
- VIP Member
- Posts: 481
- Joined: Fri Oct 25, 2019 5:06 pm
-
Contact:
by zipurman » Mon Jul 18, 2022 8:11 pm
Remove the contents of your admin/updates/ folder. There must be something in there causing this issue. Then you can add the admin/updates/ back in one at a time until the problem returns. Let me know.
-
zipurman
- PhoenixCart Developer
- Posts: 470
- Joined: Tue Oct 13, 2020 5:20 pm
- : Buy Me A Beverage
-
Contact:
by Omar_one » Mon Jul 18, 2022 9:03 pm
the folder admin/updates/ is empty
-
Omar_one
- VIP Member
- Posts: 481
- Joined: Fri Oct 25, 2019 5:06 pm
-
Contact:
by zipurman » Mon Jul 18, 2022 9:40 pm
Strange as that code only runs when looping projects in that folder. Delete that folder admin/updates and it should recreate ... maybe something hidden in there? If not, could you email me admin and ftp info so I can have a look. I tested here and cannot see how it is throwing that error.
-
zipurman
- PhoenixCart Developer
- Posts: 470
- Joined: Tue Oct 13, 2020 5:20 pm
- : Buy Me A Beverage
-
Contact:
by Omar_one » Mon Jul 18, 2022 10:08 pm
There was no updates folder, I create it after your first post ,, deleted and the folder it's not created, so there is no updates folder after reload the page
-
Omar_one
- VIP Member
- Posts: 481
- Joined: Fri Oct 25, 2019 5:06 pm
-
Contact:
by zipurman » Tue Jul 19, 2022 7:00 am
The function zipShowUpdateOutline, where you have that error only loads if you are processing a bundle. Make sure you are using the latest version and that you are loading the admin/zipur_bundler_free.php without any query strings like admin/zipur_bundler_free.php?zipinstall=xxx etc.
I'd have to look at your site to see what you are seeing to have any better idea as again, that function should only be executed when updates are present. I have tried to replicate this.
You could try to do:
Code: Select all
foreach ( $itemlist as $item ) {
var_dump($itemlist);
var_dump($item);
die();
to see if any clues are visible.
-
zipurman
- PhoenixCart Developer
- Posts: 470
- Joined: Tue Oct 13, 2020 5:20 pm
- : Buy Me A Beverage
-
Contact: