Jump to content

Something is broken error for Admin link


Recommended Posts

Inexperienced with Prestashp.  Old Prestashop (never online) from a year ago was trash (assume php upgrade by host).  Installed new 8.1 and was configuring for about a week.  Left it yesterday, came back today and can't log into admin.  Regular shop page displays fine.  Tried the suggestion to rename cache, didn't help.  Tried suggestion to remove .htaccess, didn't help.  Can't turn on debug as suggested because can't log into admin.  Grabbed error log, attached.  Any suggestions?

 

error_log

Link to comment
Share on other sites

An update ... I found an error where the current installation of Prestashop is trying to get a tmp file from the old installation directory of Prestashop.  I had tried to import from that directory, but didn't understand enough, and that was an utter failure (lots of deletions).  Last thing I did yesterday was to delete that old install directory.  For some reason when I try to log in, it tries to find that file and quits.  I tried re-creating that directory and file (file with blank content), and one error went away but still didn't log in.  Deleted another old Prestshop directory, and now it allows me to log into admin, but shows the errors below each time I log in.  I assume something is still hanging around from the botched import.  Do I need to re-install and start from scratch?

Thank you for your time and consideration.  Have a great day!

Bob

 

Unknown error on line 2583 in file /home1/oregontr/public_html/SHOPP/classes/controller/AdminController.php
[8192] Creation of dynamic property HelperView::$actions is deprecated

Unknown error on line 2584 in file /home1/oregontr/public_html/SHOPP/classes/controller/AdminController.php
[8192] Creation of dynamic property HelperView::$simple_header is deprecated

Unknown error on line 2585 in file /home1/oregontr/public_html/SHOPP/classes/controller/AdminController.php
[8192] Creation of dynamic property HelperView::$bulk_actions is deprecated

Unknown error on line 2594 in file /home1/oregontr/public_html/SHOPP/classes/controller/AdminController.php
[8192] Creation of dynamic property HelperView::$orderBy is deprecated

Unknown error on line 2595 in file /home1/oregontr/public_html/SHOPP/classes/controller/AdminController.php
[8192] Creation of dynamic property HelperView::$orderWay is deprecated

Unknown error on line 2596 in file /home1/oregontr/public_html/SHOPP/classes/controller/AdminController.php
[8192] Creation of dynamic property HelperView::$listTotal is deprecated

Unknown error on line 2600 in file /home1/oregontr/public_html/SHOPP/classes/controller/AdminController.php
[8192] Creation of dynamic property HelperView::$shopLinkType is deprecated

Unknown error on line 2604 in file /home1/oregontr/public_html/SHOPP/classes/controller/AdminController.php
[8192] Creation of dynamic property HelperView::$languages is deprecated

Unknown error on line 2605 in file /home1/oregontr/public_html/SHOPP/classes/controller/AdminController.php
[8192] Creation of dynamic property HelperView::$specificConfirmDelete is deprecated

Unknown error on line 2606 in file /home1/oregontr/public_html/SHOPP/classes/controller/AdminController.php
[8192] Creation of dynamic property HelperView::$imageType is deprecated

Unknown error on line 2607 in file /home1/oregontr/public_html/SHOPP/classes/controller/AdminController.php
[8192] Creation of dynamic property HelperView::$no_link is deprecated

Unknown error on line 2608 in file /home1/oregontr/public_html/SHOPP/classes/controller/AdminController.php
[8192] Creation of dynamic property HelperView::$colorOnBackground is deprecated

Unknown error on line 2609 in file /home1/oregontr/public_html/SHOPP/classes/controller/AdminController.php
[8192] Creation of dynamic property HelperView::$ajax_params is deprecated

Unknown error on line 2611 in file /home1/oregontr/public_html/SHOPP/classes/controller/AdminController.php
[8192] Creation of dynamic property HelperView::$default_form_language is deprecated

Unknown error on line 2618 in file /home1/oregontr/public_html/SHOPP/classes/controller/AdminController.php
[8192] Creation of dynamic property HelperView::$row_hover is deprecated

Unknown error on line 2619 in file /home1/oregontr/public_html/SHOPP/classes/controller/AdminController.php
[8192] Creation of dynamic property HelperView::$position_identifier is deprecated

Unknown error on line 2625 in file /home1/oregontr/public_html/SHOPP/classes/controller/AdminController.php
[8192] Creation of dynamic property HelperView::$list_id is deprecated

Unknown error on line 2629 in file /home1/oregontr/public_html/SHOPP/classes/controller/AdminController.php
[8192] Creation of dynamic property HelperView::$list_skip_actions is deprecated
 

 

 

Link to comment
Share on other sites

17 hours ago, bobfbobf said:

Unknown error on line 2583 in file /home1/oregontr/public_html/SHOPP/classes/controller/AdminController.php
[8192] Creation of dynamic property HelperView::$actions is deprecated

Hi Bob

What does the line 2583 say?

Have you seen this:

 

Link to comment
Share on other sites

One item of note:  The errors only show when I enable debug.  When I disable it, I don't see the errors.

Line 2583:  $helper->actions = $this->actions;

Other error lines are similar:

Line 2594:  $helper->orderBy = $this->_orderBy;

Line 2595:  $helper->orderWay = $this->_orderWay;
Line 2596:  $helper->listTotal = $this->_listTotal;

Etc.  About 40 of the errors.

Since they are not visible if I turn off debug, can I safely ignore them?

Thank you for your time and consideration.  Have a great day!

Bob

Link to comment
Share on other sites

If it runs ok leave it like that and build a alternative locally.

Could also be a different shop, or several smaller ones from one source.

Quote

No such file or directory

Could be permission error if that file is present.

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...