Author Topic: The unsolved question of the "Internal Server Error"  (Read 15770 times)

Offline Rex

  • Newbie
  • *
  • Posts: 3
  • Karma: +0/-0
    • View Profile
The unsolved question of the "Internal Server Error"
« on: March 25, 2015, 05:18:56 PM »
I'm troubled. AbanteCart seems to be the perfect choice for a small business. I have tried several other shopping carts and I have abandoned them because of their lack of functions or fearsome backends.

But when installing AbanteCart it fails.

The installation tells me to disable OPcache, so I disable it in the htacess-file.
Every test checks out well, only green marks here.
Next page, fill in database and user names etc.  No questions here, it's standard procedure. I even check that the communication with the database works, and it does.
Next page again. A few seconds, then it fails. "Following error has occurred during installation: Internal Server Error: "

The error log shows: "Call to a member function write() on a non-object in <b>/(webadress)/core/lib/cache.php</b> on line <b>53</b>"

The "cache.php" on line 53 says: " $this->registry->get('log')->write('Cache directory is not accessible or writable.  Caching operation was skipped!'); "

If I understand this right, it must mean that the /core/lib - directory is not writeable. So I change the permissions to chmod 777.  I also change all of those folders and files mentioned here:  ww.abantecart.com/ecommerce-documentation/installation - to chmod 777.

It doesn't help.

Do I have to abandon AbanteCart, or is there anyone who can help me solving this problem?

I'm not a programmer but I thought I had experience enough to install a simple server side program; after all, I have done it several times before with Magento, Wordpress, eCommerce, Prestashop and so on. English is not my native language, so maybe i'm missing something obvious. If I do, please point me in the right direction.

I will be happy to contribute to the community later on with a translation of the program, if I only can get it to work.






Offline abolabo

  • core-developer
  • Administrator
  • Hero Member
  • *****
  • Posts: 2052
  • Karma: +320/-13
  • web for all, all for web!
    • View Profile
    • AbanteCart
Re: The unsolved question of the "Internal Server Error"
« Reply #1 on: March 25, 2015, 06:58:59 PM »
no. You should to change permissions for "public_html/system/cache" directory. 
Error just show you which line gives an error.
“No one is useless in this world who lightens the burdens of another.”
― Charles Dickens

Offline Rex

  • Newbie
  • *
  • Posts: 3
  • Karma: +0/-0
    • View Profile
Re: The unsolved question of the "Internal Server Error"
« Reply #2 on: March 25, 2015, 07:18:30 PM »
Hi and thank you for your instant reply.

I did try the the solution you offered and it didn't help. I tried it now ones again but still, it makes no differens. Is there anything else I can try?

Offline rfleck

  • Newbie
  • *
  • Posts: 12
  • Karma: +2/-0
    • View Profile
Re: The unsolved question of the "Internal Server Error"
« Reply #3 on: March 29, 2015, 05:00:02 PM »
Hi Rex,

My  native language is not english too, it is Brazilian Portuguese.
I am having the same trouble as you ...

2015-03-28 20:17:51 - error:  AbanteCart core v.1.2 Call to a member function write() on a non-object in <b>/htdocs/home/(my site)/www/AbanteCart/core/lib/cache.php</b> on line <b>53</b>

I changed the permissions of "core" and "core/lib", to "777" and the error still continues ...
Than I changed the permissions of the whole folder "AbanteCart", and nothing has changed ...

2015-03-29 20:49:39 - error:  AbanteCart core v.1.2 Call to a member function write() on a non-object in <b>/htdocs/home/(my site)/www/AbanteCart/core/lib/cache.php</b> on line <b>53</b>

I hope somebody can help me !

Offline oliver

  • Jr. Member
  • **
  • Posts: 86
  • Karma: +7/-0
    • View Profile
Re: The unsolved question of the "Internal Server Error"
« Reply #4 on: March 30, 2015, 03:17:05 PM »
If i remember correct i haved the same problem on my first setup on abantecart
i installed it with a differend language i think

but on my second installetion i install it with the common English  language and it worked without any problem
after i install the needed language and still working
maybe its the same problem you have
try to install it first with the common english language !

hope that helps

Offline abolabo

  • core-developer
  • Administrator
  • Hero Member
  • *****
  • Posts: 2052
  • Karma: +320/-13
  • web for all, all for web!
    • View Profile
    • AbanteCart
Re: The unsolved question of the "Internal Server Error"
« Reply #5 on: March 31, 2015, 04:55:45 AM »
If i remember correct i haved the same problem on my first setup on abantecart
i installed it with a differend language i think

Please clarify what mean "installed it with a different language". Do you talking about default language of web-pages in your browser? or cookies?
« Last Edit: March 31, 2015, 05:17:04 AM by abolabo »
“No one is useless in this world who lightens the burdens of another.”
― Charles Dickens

Offline rfleck

  • Newbie
  • *
  • Posts: 12
  • Karma: +2/-0
    • View Profile
Re: The unsolved question of the "Internal Server Error"
« Reply #6 on: March 31, 2015, 08:50:44 AM »
I am using "Chrome", set to Brazilian Portuguese.
But I tried to install "AbanteCart" in it's default language, english.
And the error continues ...

"2015-03-29 21:08:39 - error:  AbanteCart core v.1.2 Call to a member function write() on a non-object in <b>/htdocs/home/(My site)/www/AbanteCart/core/lib/cache.php</b> on line <b>53</b>"

Offline rfleck

  • Newbie
  • *
  • Posts: 12
  • Karma: +2/-0
    • View Profile
Re: The unsolved question of the "Internal Server Error"
« Reply #7 on: March 31, 2015, 09:06:32 AM »
Hi,
The permissions for folders "core", "lib" and file "cache.php" are set to "777".
The "fatal error" persists ...

2015-03-31 12:57:37 - error:  AbanteCart core v.1.2 Call to a member function write() on a non-object in <b>/htdocs/home/(my site)/www/AbanteCart/core/lib/cache.php</b> on line <b>53</b>

Offline abolabo

  • core-developer
  • Administrator
  • Hero Member
  • *****
  • Posts: 2052
  • Karma: +320/-13
  • web for all, all for web!
    • View Profile
    • AbanteCart
Re: The unsolved question of the "Internal Server Error"
« Reply #8 on: March 31, 2015, 09:19:27 AM »
Hi,
The permissions for folders "core", "lib" and file "cache.php" are set to "777".
The "fatal error" persists ...

2015-03-31 12:57:37 - error:  AbanteCart core v.1.2 Call to a member function write() on a non-object in <b>/htdocs/home/(my site)/www/AbanteCart/core/lib/cache.php</b> on line <b>53</b>

what about folders
public_html/system/cache and all files and directories in it
and
public_html/system/log ?

“No one is useless in this world who lightens the burdens of another.”
― Charles Dickens

Offline rfleck

  • Newbie
  • *
  • Posts: 12
  • Karma: +2/-0
    • View Profile
Re: The unsolved question of the "Internal Server Error"
« Reply #9 on: March 31, 2015, 09:33:10 AM »
Hi,

Yes, all folders in the path "/www/AbanteCart/core/lib" are set to "777", and file "cache.php" too.

I gave total permission (777) for all the installation, this means "/AbanteCart/*.*" ... And nothing
changed ... The error continues ...


Offline rfleck

  • Newbie
  • *
  • Posts: 12
  • Karma: +2/-0
    • View Profile
Re: The unsolved question of the "Internal Server Error"
« Reply #10 on: March 31, 2015, 10:17:33 AM »
Hi,
This is the message:

Fatal error: Call to a member function write() on a non-object in /htdocs/home/(My Site)/www/AbanteCart/core/lib/cache.php on line 53

The folders "/core/lib/" and the file "cache.php" have total permission (777).

Offline rfleck

  • Newbie
  • *
  • Posts: 12
  • Karma: +2/-0
    • View Profile
Re: The unsolved question of the "Internal Server Error"
« Reply #11 on: March 31, 2015, 10:39:53 AM »
Hi,
All tables have been created correctly in the DataBase.

Offline abolabo

  • core-developer
  • Administrator
  • Hero Member
  • *****
  • Posts: 2052
  • Karma: +320/-13
  • web for all, all for web!
    • View Profile
    • AbanteCart
Re: The unsolved question of the "Internal Server Error"
« Reply #12 on: March 31, 2015, 12:32:16 PM »
please read my posts..
again...

Quote
what about permissions of folders
public_html/system/cache and all files and directories in it
and
public_html/system/log ?
“No one is useless in this world who lightens the burdens of another.”
― Charles Dickens

Offline llegrand

  • Hero Member
  • *****
  • Posts: 1805
  • Karma: +525/-7
    • View Profile
Re: The unsolved question of the "Internal Server Error"
« Reply #13 on: March 31, 2015, 01:21:14 PM »
Hi,  In case you aren't totally familiar with file permissions -  if you are using cPanel to change the permissions on a folder - it doesn't not change the permissions on the files within the folder.

You have to use a recursive cmd  to change the files within a folder and a lot of users don't know how to do that.   So open up your folders and check your files  -  here's the docs with the entire list of files that require permissions to be set.

http://www.abantecart.com/ecommerce-documentation/user-manual/installation

Lee

Offline oliver

  • Jr. Member
  • **
  • Posts: 86
  • Karma: +7/-0
    • View Profile
Re: The unsolved question of the "Internal Server Error"
« Reply #14 on: March 31, 2015, 01:28:16 PM »
If i remember correct i haved the same problem on my first setup on abantecart
i installed it with a differend language i think

Please clarify what mean "installed it with a different language". Do you talking about default language of web-pages in your browser? or cookies?

not browser or cookies i tryed to install with turkish language i think I don't remember
but i get also some problem on my first install

 

Powered by SMFPacks Social Login Mod