It's my first time that I find myself working with Magento, after installing the backup on local using Mamp, when I try to connect to the page I see the following message.
Warning: include_once(/Applications/MAMP/htdocs/amsb/includes/src/Mage_Core_functions.php): failed to open stream: No such file or directory in /Applications/MAMP/htdocs/amsb/app/Mage.php on line 36
Warning: include_once(): Failed opening '/Applications/MAMP/htdocs/amsb/includes/src/Mage_Core_functions.php' for inclusion (include_path='/Applications/MAMP/htdocs/amsb/includes/src:.:/Applications/MAMP/bin/php/php7.0.22/lib/php') in /Applications/MAMP/htdocs/amsb/app/Mage.php on line 36
Warning: include_once(/Applications/MAMP/htdocs/amsb/includes/src/Varien_Autoload.php): failed to open stream: No such file or directory in /Applications/MAMP/htdocs/amsb/app/Mage.php on line 37
Warning: include_once(): Failed opening '/Applications/MAMP/htdocs/amsb/includes/src/Varien_Autoload.php' for inclusion (include_path='/Applications/MAMP/htdocs/amsb/includes/src:.:/Applications/MAMP/bin/php/php7.0.22/lib/php') in /Applications/MAMP/htdocs/amsb/app/Mage.php on line 37
Fatal error: Uncaught Error: Class 'Varien_Autoload' not found in /Applications/MAMP/htdocs/amsb/app/Mage.php:54 Stack trace: #0 /Applications/MAMP/htdocs/amsb/index.php(65): require_once() #1 {main} thrown in /Applications/MAMP/htdocs/amsb/app/Mage.php on line 54
I have already cleared the cache and changed the links in the database web / secure / base_url and web / unsecure / base_url.
Can anyone help me?
As I can see from the error message you are using PHP 7 in your MAMP installation. Since PHP 7 is not officially supported by magento v1.9.x you should switch the PHP version in the MAMP settings to 5.x and everything should work.
Try to install Inchoo PHP7 compatibility extension:
https://github.com/Inchoo/Inchoo_PHP7
I am about to setup Mediawiki on my VM (Debian Jessie, ISPconfig 3.1) and I get an error 500 when accessing the website. Here is my apache2 error.log:
[fastcgi:error] [pid 8066] (2)No such file or directory: [client
51.15.70.216:56974] FastCGI: failed to connect to server
"/var/www/clients/client1/web10/cgi-bin/hhvm-fcgi-[IP-address]-
mydomain.com": connect() failed
[fastcgi:error] [pid 8066] [client 51.15.70.216:56974] FastCGI:
incomplete headers (0 bytes) received from server
"/var/www/clients/client1/web10/cgi-bin/hhvm-fcgi-[IP-address]-80-
mydomain.com"
all rights are set OK for the webfolders, can anybody tell me please what I can do to get my configuration working?
thanks!
Is the hhvm deamon runing? It doesnt look so.
I decided to install my Mediawiki without using HHVM for the first time. As long as the integration of HHVM in ISPC is not technically mature, it makes no sense to me.
Thanks for your help.
After enabling mod_roster_odbc module, when I try to restart my server I see the below in my log.
2015-02-26 14:07:03.725 [critical] <0.836.0>#gen_mod:start_module:94 Problem starting the module mod_roster_odbc for host <<"localhost">>
options: []
error: undef
[{mod_roster_odbc,start,[<<"localhost">>,[]],[]},
{gen_mod,start_module,3,[{file,"src/gen_mod.erl"},{line,83}]},
{lists,foreach,2,[{file,"lists.erl"},{line,1336}]},
{ejabberd_app,start,2,[{file,"src/ejabberd_app.erl"},{line,69}]},
{application_master,start_it_old,4,
[{file,"application_master.erl"},{line,272}]}]
2015-02-26 14:07:03.726 [critical] <0.836.0>#gen_mod:start_module:99 ejabberd initialization was aborted because a module start failed.
The trace is [{mod_roster_odbc,start,[<<"localhost">>,[]],[]}, {gen_mod,start_module,3,[{file,"src/gen_mod.erl"},{line,83}]},{lists,foreach,2, [{file,"lists.erl"},{line,1336}]},{ejabberd_app,start,2, [{file,"src/ejabberd_app.erl"},{line,69}]},{application_master,start_it_old,4, [{file,"application_master.erl"},{line,272}]}].
(END)
How to fix this?
You have a problem with your install. Error mean that some modules / functions are not found.
After manually upgrading PHP and MySQL on my Cent OS box then logging in to my Plesk administration panel, I'm receiving the following error when attempting to carry out numerous tasks. PHP and MySQL are functioning correctly in their own right.
New files of configuration for Apache web server were not built due to errors in configuration templates: Template processing failed: file = /usr/local/psa/admin/conf/templates/default/domainVhost.php, error = [unixODBC][Driver Manager]Can't open lib '/usr/lib64/libmyodbc3.so' : /usr/lib64/libmyodbc3.so: cannot open shared object file: No such file or directory. The detailed error message was e-mailed to you, so please check the e-mail, fix the errors, and click here to retry generating broken configuration or click here to retry generating of all configurations.
I have located the ODBC configuration details in the following file:
/etc/odbcinst.ini
The contents of which are as follows:
# Driver from the MyODBC package
# Setup from the unixODBC package
[MySQL]
Description = MySQL driver for Plesk
Driver = /usr/lib64/libmyodbc3.so
Setup =
FileUsage = 1
Driver64 = /usr/lib64/libmyodbc3.so
Setup64 =
UsageCount = 1
I expect that the Driver & Driver64 parameters must be updated to reflect the changes that occurred when MySQL was upgraded however I am unable to locate the path to the appropriate driver and am out of my depth now. Any advice greatly welcomed.
UPDATE: a '# locate libmyodbc3' returns no results.
Turns out the ODBC and mysql-connector-odbc packages were missing.
They were installed using YUM as follows:
# yum install unixODBC
# yum mysql-connector-odbc packages
I tried to install Jekyll On Windows 7. I followed this guide http://www.testically.org/2012/02/02/installing-jekyll-and-ruby-on-windows/
So I first downloaded Ruby and added \;C:\Ruby193\bin to the path variable.
I then downloaded DevKit and added \;C:\Users\jimmy\Downloads\teeheeband\bin\ to the path variable as well.
I then opened my command and did the following (in order)
cd ;C:\Users\jimmy\Downloads\teeheeband
ruby dk.rb init
ruby dk.rb install
the following are the codes that appeared on my screen when I did the above steps.
Microsoft Windows [Version 6.1.7601]
Copyright (c) 2009 Microsoft Corporation. All rights reserved.
C:\Users\jimmy>cd ;C:\Users\jimmy\Downloads\teeheeband
C:\Users\jimmy\Downloads\teeheeband>ruby dk.rb init
[INFO] found RubyInstaller v1.9.3 at C:/Ruby193
Initialization complete! Please review and modify the auto-generated
'config.yml' file to ensure it contains the root directories to all
of the installed Rubies you want enhanced by the DevKit.
C:\Users\jimmy\Downloads\teeheeband>ruby dk.rb install
[INFO] Skipping existing gem override for 'C:/Ruby193'
[WARN] Skipping existing DevKit helper library for 'C:/Ruby193'
C:\Users\jimmy\Downloads\teeheeband>gem install jekyll
Successfully installed jekyll-0.12.0
1 gem installed
Installing ri documentation for jekyll-0.12.0...
Installing RDoc documentation for jekyll-0.12.0...
C:\Users\jimmy\Downloads\teeheeband>
Once I did the above, I downloaded github and cloned the repo that I wanted to work on. I then went to Gitshell and did the following
Windows PowerShell
Copyright (C) 2009 Microsoft Corporation. All rights reserved.
C:\Users\jimmy\Documents\GitHub> cd prog694.github.com
C:\Users\jimmy\Documents\GitHub\prog694.github.com [new-branch]> jekyll --server
--auto
Configuration from C:/Users/jimmy/Documents/GitHub/prog694.github.com/_config.ym
l
Auto-regenerating enabled: C:/Users/jimmy/Documents/GitHub/prog694.github.com ->
C:/Users/jimmy/Documents/GitHub/prog694.github.com/_site
[2013-02-03 20:19:00] regeneration: 402 files changed
[2013-02-03 20:19:01] INFO WEBrick 1.3.1
[2013-02-03 20:19:01] INFO ruby 1.9.3 (2013-01-15) [i386-mingw32]
[2013-02-03 20:19:01] INFO WEBrick::HTTPServer#start: pid=4036 port=4000
[2013-02-03 20:20:24] ERROR no access permission to `/'
jimmy-PC - - [03/Feb/2013:20:20:24 Atlantic Standard Time] "GET / HTTP/1.1" 403
283
- -> /
[2013-02-03 20:20:24] ERROR `/favicon.ico' not found.
jimmy-PC - - [03/Feb/2013:20:20:24 Atlantic Standard Time] "GET /favicon.ico HTT
P/1.1" 404 281
- -> /favicon.ico
Finally I opened a browser and tried to run a local copy of the website via : localhost:4000
I failed and got this message
Forbidden
no access permission to `/'
WEBrick/1.3.1 (Ruby/1.9.3/2013-01-15) at 127.0.0.1:4000
so I used h**p://127.0.0.1:4000/( replace t with **)
failed again
Forbidden
no access permission to `/'
WEBrick/1.3.1 (Ruby/1.9.3/2013-01-15) at 127.0.0.1:4000
All I want is to be able to open and run a local version of this website. Any help would be greatly appreciated.
Check if your port 4000 is not used by something else, or if you have a firewall enable access to it.
I'd highly disrecomend Windows for jekyll (or any ruby gem/app), installing and using it in Linux would be much easier.