Site maintenance: Sun 15 Nov, from 12:00 UTC, about 4–6 hours. Details

This cutover relies on some testing that is still incomplete so may be cancelled at short notice

Forums / Upgrading from 1.3.x to 1.3.9 / Cannot access admin after upgrade...

Cannot access admin after upgrade...

Locked

Started by colin99 on 19 Sep 2006, 4:10 PM · Views: 4,808

Results 1 to 12 of 12
This thread is locked. New replies are disabled.
19 Sep 2006, 4:10 PM
#1
colin99 avatar

colin99

New Zenner

Join Date:
May 2006
Posts:
37
Plugin Contributions:
0

Cannot access admin after upgrade...

When I got to admin login area on site -
all I get is:

Warning: main(includes/languages/english/extra_definitions/editors_list.php) [function.main]: failed to open stream: Permission denied in /data/in/w/xxx/www/joomla/cart/admin/includes/init_includes/init_languages.php on line 40

Warning: main(includes/languages/english/extra_definitions/editors_list.php) [function.main]: failed to open stream: Permission denied in /data/in/w/xxx/www/joomla/cart/admin/includes/init_includes/init_languages.php on line 40

Warning: main(includes/languages/english/extra_definitions/editors_list.php) [function.main]: failed to open stream: Permission denied in /data/in/w/xxx/www/joomla/cart/admin/includes/init_includes/init_languages.php on line 40

Fatal error: main() [function.require]: Failed opening required 'includes/languages/english/extra_definitions/editors_list.php' (include_path='.:/data/etc/php') in /data/in/w/xxx/www/joomla/cart/admin/includes/init_includes/init_languages.php on line 40

19 Sep 2006, 4:13 PM
#2
colin99 avatar

colin99

New Zenner

Join Date:
May 2006
Posts:
37
Plugin Contributions:
0

Re: Cannot access admin after upgrade...

colin99:

When I got to admin login area on site -
all I get is:

Warning: main(includes/languages/english/extra_definitions/editors_list.php) [function.main]: failed to open stream: Permission denied in /data/in/w/xxx/www/joomla/cart/admin/includes/init_includes/init_languages.php on line 40

could it be that there is NO editors_list.php in this directory? :unsure:

19 Sep 2006, 4:16 PM
#3
drbyte avatar

drbyte

Sensei

Join Date:
Jan 2004
Posts:
63,511
Plugin Contributions:
176

Re: Cannot access admin after upgrade...

(includes/languages/english/extra_definitions/editors_list.php) [function.main]: failed to open stream: Permission denied
You might want to investigate the permissions settings on that folder/file in your admin area ...

.
Zen Cart - putting the dream of business ownership within reach of anyone!
Donate to: DrByte directly or to the Zen Cart team as a whole

Remember: Any code suggestions you see here are merely suggestions. You assume full responsibility for your use of any such suggestions, including any impact ANY alterations you make to your site may have on your PCI compliance.
Furthermore, any advice you see here about PCI matters is merely an opinion, and should not be relied upon as "official". Official PCI information should be obtained from the PCI Security Council directly or from one of their authorized Assessors.

19 Sep 2006, 4:21 PM
#4
colin99 avatar

colin99

New Zenner

Join Date:
May 2006
Posts:
37
Plugin Contributions:
0

Re: Cannot access admin after upgrade...

DrByte:

You might want to investigate the permissions settings on that folder/file in your admin area ...

Hey Doc:

There is NO editors_list.php in this directory - so the permissions have
nothing to do with it -:sleepy:

19 Sep 2006, 4:24 PM
#5
colin99 avatar

colin99

New Zenner

Join Date:
May 2006
Posts:
37
Plugin Contributions:
0

Re: Cannot access admin after upgrade...

colin99:

When I got to admin login area on site -
all I get is:

Warning: main(includes/languages/english/extra_definitions/editors_list.php) [function.main]: failed to open stream: Permission denied in /data/in/w/xxx/www/joomla/cart/admin/includes/init_includes/init_languages.php on line 40

Oddly there are only 31 lines of code in init_languages.php!

Hmmmm.. :lol:

19 Sep 2006, 4:26 PM
#6
drbyte avatar

drbyte

Sensei

Join Date:
Jan 2004
Posts:
63,511
Plugin Contributions:
176

Re: Cannot access admin after upgrade...

  1. This has nothing to do with init_languages. The error has to do with the editors_list.php file.

  2. when running from the admin, the working path is /admin ... even if the error message doesn't include the word /admin/

So ... check the permissions on this folder:

/admin/includes/languages/english/extra_definitions/editors_list.php

.
Zen Cart - putting the dream of business ownership within reach of anyone!
Donate to: DrByte directly or to the Zen Cart team as a whole

Remember: Any code suggestions you see here are merely suggestions. You assume full responsibility for your use of any such suggestions, including any impact ANY alterations you make to your site may have on your PCI compliance.
Furthermore, any advice you see here about PCI matters is merely an opinion, and should not be relied upon as "official". Official PCI information should be obtained from the PCI Security Council directly or from one of their authorized Assessors.

19 Sep 2006, 4:37 PM
#7
colin99 avatar

colin99

New Zenner

Join Date:
May 2006
Posts:
37
Plugin Contributions:
0

Re: Cannot access admin after upgrade...

DrByte:

So ... check the permissions on this folder:

/admin/includes/languages/english/extra_definitions/editors_list.php

Tweaked the perms (which were not really that out of order and I am down to one
error:

Fatal error: Call to undefined function: zen_get_languages() in /data/in/w/xxx/www/joomla/cart/admin/index.php on line 25

19 Sep 2006, 4:39 PM
#8
drbyte avatar

drbyte

Sensei

Join Date:
Jan 2004
Posts:
63,511
Plugin Contributions:
176

Re: Cannot access admin after upgrade...

That's defined in /admin/includes/functions/general.php

You can find these things using the Developer's Toolkit.

.
Zen Cart - putting the dream of business ownership within reach of anyone!
Donate to: DrByte directly or to the Zen Cart team as a whole

Remember: Any code suggestions you see here are merely suggestions. You assume full responsibility for your use of any such suggestions, including any impact ANY alterations you make to your site may have on your PCI compliance.
Furthermore, any advice you see here about PCI matters is merely an opinion, and should not be relied upon as "official". Official PCI information should be obtained from the PCI Security Council directly or from one of their authorized Assessors.

19 Sep 2006, 4:55 PM
#9
colin99 avatar

colin99

New Zenner

Join Date:
May 2006
Posts:
37
Plugin Contributions:
0

Re: Cannot access admin after upgrade...

DrByte:

That's defined in /admin/includes/functions/general.php

You can find these things using the Developer's Toolkit.

The developers tool-kit is inside the Admin area which I cannot access...

19 Sep 2006, 5:00 PM
#10
drbyte avatar

drbyte

Sensei

Join Date:
Jan 2004
Posts:
63,511
Plugin Contributions:
176

Re: Cannot access admin after upgrade...

colin99:

The developers tool-kit is inside the Admin area which I cannot access...
Yes ... that would be a problem :eek:

It sounds like you have some files that didn't upload properly. If the function file doesn't contain all the code it is expected to contain, then you'll get unpredictable errors.

When things are not working as expected, I use this approach:
http://www.zen-cart.com/wiki/index.php/Troubleshoot_-_Diagnosing_Obscure_Issues

  • full file-compare
  • upload incomplete/mismatched files

.
Zen Cart - putting the dream of business ownership within reach of anyone!
Donate to: DrByte directly or to the Zen Cart team as a whole

Remember: Any code suggestions you see here are merely suggestions. You assume full responsibility for your use of any such suggestions, including any impact ANY alterations you make to your site may have on your PCI compliance.
Furthermore, any advice you see here about PCI matters is merely an opinion, and should not be relied upon as "official". Official PCI information should be obtained from the PCI Security Council directly or from one of their authorized Assessors.

19 Sep 2006, 5:36 PM
#11
colin99 avatar

colin99

New Zenner

Join Date:
May 2006
Posts:
37
Plugin Contributions:
0

Re: Cannot access admin after upgrade...

DrByte:

Yes ... that would be a problem :eek:

Much as I do not want to - I am going to create a new
directory and upload all the files again and
slowly move over my "pertinent" files.

I really appreciate your responses on this. :D

19 Sep 2006, 10:27 PM
#12
colin99 avatar

colin99

New Zenner

Join Date:
May 2006
Posts:
37
Plugin Contributions:
0

Re: Cannot access admin after upgrade...

Solution:

Created new directory -
Uploaded the new distribution.
Configured for old database (which had been updated)
Transfered template and image files.
Voila.

Fixed.

:cool: