Problems in installaing Magento in Windows Shared Server using Plesk - magento

I don´t know how to do. I always have the same error no matter what I do to protect the files. The host (mochahost) don´t give me any support. So I will try if a good soul here could help me.
These are the errors:
Warning: include_once(Mage/Core/functions.php) [function.include-once]: failed to open stream: No such file or directory in C:\inetpub\vhosts\e-interage.com.br\httpdocs\dinossauros\app\Mage.php on line 49
Warning: include_once() [function.include]: Failed opening 'Mage/Core/functions.php' for inclusion (include_path='C:\inetpub\vhosts\e-interage.com.br\httpdocs\dinossauros\app\code\local;C:\inetpub\vhosts\e-interage.com.br\httpdocs\dinossauros\app\code\community;C:\inetpub\vhosts\e-interage.com.br\httpdocs\dinossauros\app\code\core;C:\inetpub\vhosts\e-interage.com.br\httpdocs\dinossauros\lib;.;C:\Program Files (x86)\Parallels\Plesk\Additional\PleskPHP5\Pear;./includes;./pear;./;') in C:\inetpub\vhosts\e-interage.com.br\httpdocs\dinossauros\app\Mage.php on line 49
Warning: Varien_Autoload::include(Mage\Core\Model\App.php) [varien-autoload.include]: failed to open stream: No such file or directory in C:\inetpub\vhosts\e-interage.com.br\httpdocs\dinossauros\lib\Varien\Autoload.php on line 93
Warning: Varien_Autoload::include() [function.include]: Failed opening 'Mage\Core\Model\App.php' for inclusion (include_path='C:\inetpub\vhosts\e-interage.com.br\httpdocs\dinossauros\app\code\local;C:\inetpub\vhosts\e-interage.com.br\httpdocs\dinossauros\app\code\community;C:\inetpub\vhosts\e-interage.com.br\httpdocs\dinossauros\app\code\core;C:\inetpub\vhosts\e-interage.com.br\httpdocs\dinossauros\lib;.;C:\Program Files (x86)\Parallels\Plesk\Additional\PleskPHP5\Pear;./includes;./pear;./;') in C:\inetpub\vhosts\e-interage.com.br\httpdocs\dinossauros\lib\Varien\Autoload.php on line 93
Fatal error: Class 'Mage_Core_Model_App' not found in C:\inetpub\vhosts\e-interage.com.br\httpdocs\dinossauros\app\Mage.php on line 620
Best regards

The answer is in your question - you are 'installing Magento in Windows Shared Server using Plesk.'
You are using Windows shared hosting for an application developed for a linux box, preferably one with lots of resources.
Even if you get this working you will be spending your time adapting the software to your setup, not developing your shop.
How much do you value your time?
Is it more than your (shared) computer's time?
If so, get the right hosting, which at a minimum is virtual server, linux flavour. The installation instructions will work for you. Same with any other problems you have with your build - all the instructions and forum tips are for linux, i.e. with the path separators going '/' and not Microsoft backwards-'\'.

Related

psqlodbc driver not found on heroku despite being in my app directory

I am trying to get RODBC to work on heroku. I have a rails app that calls an R script from RinRuby, which then queries the production database in order to do some analysis. It all works fine on my local Mac, so I thought the best approach was to use the binary compiled on my Max (psqlodbcw.so) into my repo, and reference it in production as well. Unfortunately, when I try to make the connection in production using this connection string:
> library(RODBC)
> dbhandle <- odbcDriverConnect('driver=./psqlodbcw.so;database=nw_server_production;trusted_connection=true;uid=nw_server')
Warning messages:
1: In odbcDriverConnect("driver=./psqlodbcw.so;database=<db_name>;trusted_connection=true;uid=<user>") :
[RODBC] ERROR: state 01000, code 0, message [unixODBC][Driver Manager]Can't open lib './psqlodbcw.so' : file not found
2: In odbcDriverConnect("driver=./psqlodbcw.so;database=<db_name>;trusted_connection=true;uid=<user>?") :
ODBC connection failed
I have seen this error in a similar post online here, but using SQL server instead of postgres. But the accepted answer on that post doesn't explain why the file isn't found, despite being in the app directory. I did follow the same approach and made my own custom buildpack (available here: https://github.com/NovaWulf/r-rodbc-buildpack). I replaced the .so file with the one I compiled on my mac, and simply deleted the .rll file and the code that copies it, since I don't have that file (and hopefully don't need it for psqlodbc?). When I run that buildpack it runs without error on heroku, but then when I reference the .so file copied from the buildpack, I get the same "file not found" error.
Is this happening because the .so file was compiled on the wrong system architecture? I tried compiling psqlodbc on linux, but I do not get a psqlodbcq.so file when I do that (let alone an .rll file). The closest thing I get is a file called libodbcpsqlS.so, which is a setup file, not a driver file.
Could someone please help me understand the best approach to this problem? Why is heroku not seeing the file that is not there? And what is the best solution? Is there a simple way to just download the correct driver file somewhere?
Any help is much appreciated!
Best,
Paul

rethinkdb CURLOPT_ACCEPT_ENCODING was not declared in this scope error

I am working on installing rethinkdb on my server, which is a CentOS 6.9 machine. I followed all the directions for a CentOS server as described here for CentOS 6. I got all the way to the command scl enable devtoolset-2 -- make but while building, on line 244 of 421, the line that reads build/release/obj/extproc/http_job.o I receive the error "CURLOPT_ACCEPT_ENCODING was not declared in this scope"
I don't know what this means or why the error is popping up, but I can't continue with the build process as long as that error is there.
I found an obscure article that mentions a fix for this particular error. If you go into the rethinkdb folder on the server, you can then navigate to src/extproc/http_job.cc and open that file in a text editor. You can then search for the function void set_default_opts and inside of that function is the line exc_setopt(curl_handle, CURLOPT_ACCEPT_ENCODING, "", "PROTOCOLS); If you just change CURLOPT_ACCEPT_ENCODING to `CURLOPT_ENCODING, you will be able to continue the build process. It worked for me.

Chilkat ftp.SyncLocalDir with open files?

I’m having an issue with ftp.SyncLocalDir when I have an open file on the local directory.
I’m using the example from http://www.example-code.com/vbnet/ftp_syncLocalTree.asp with a few minor changes. It has been working fine for a few days and then has stopped working.
I’ve found that one of the files is open on the local directory. Looking through the http://chilkatforum.com/ forum I see that one of the answers stated that
“Chilkat will detect errors that are likely permission/access errors and will continue with the remainder of the download.”
This is not happening for me. Looking at the last error text it states that the file is used by another process. Not other files get synchronized.
Is the something else I need to add to the code to force it to continue after the error?
Below is the last error text.
Thanks,
Steve
ChilkatLog:
SyncLocalDir:
DllDate: Dec 5 2014
ChilkatVersion: 9.5.0.46
UnlockPrefix: *********
Username: *********
Architecture: Little Endian; 32-bit
Language: .NET 4.0
VerboseLogging: 0
commandCharset: ansi
dirListingCharset: ansi
localDirPath: Q:\TEST
mode: 2
ProgressMonitoring:
enabled: yes
heartbeatMs: 0
sendBufferSize: 65536
--ProgressMonitoring
downloadDir:
getFile2:
localFilename: Q:\TEST/LINE_6 _13.csv
Replacing existing local file
openForReadWriteWin32:
Failed to open file (2)
localFilePath: Q:\TEST\LINE_6 _13.csv
currentWorkingDirectory: H:\Code In Progress\LLS\Gen 3 Test And Crimp
w-network\VB Code\trunk\FTP Syncronize\bin\Debug
osErrorInfo: The process cannot access the file because it is being us
ed by another process.
localWindowsFilePath: Q:\TEST\Line 6\LINE_6 _13.csv
--openForReadWriteWin32
--getFile2
Failed to download file
failedFilename: /LINE_6 _13.csv
--downloadDir
Failed.
--SyncLocalDir
--ChilkatLog
Please try this new build for the .NET 4.0 Framework:
32-bit Download: http://www.chilkatsoft.com/download/preRelease/ChilkatDotNet4-9.5.0-win32.zip
64-bit Download: http://www.chilkatsoft.com/download/preRelease/ChilkatDotNet4-9.5.0-x64.zip
The feature for continuing past permission/access issues had to do with issues on the remote server as opposed to the local filesystem. This new build should now also do the same for local permission errors. It will be noted in the release notes for Chilkat version 9.5.0.47 when released (soon).
If you have trouble, please post the LastErrorText using this new build.

Magento died after compilation: how to disable using compiled files without admin panel access?

Tried to compile Magento 1.6 here:
Magento admin panel, System, Tools, Compilation
It compiled and then I enabled it. After that, site died. Here's the stack (but that's not important)
Warning: include_once(Mage_Core_functions.php) [function.include-once]: failed to open stream: No such file or directory in /home/mysite/public_html/app/Mage.php on line 36
Warning: include_once() [function.include]: Failed opening 'Mage_Core_functions.php' for inclusion (include_path='/home/mysite/public_html/includes/src:.:/usr/lib/php:/usr/local/lib/php') in /home/mysite/public_html/app/Mage.php on line 36
Warning: include_once(Varien_Autoload.php) [function.include-once]: failed to open stream: No such file or directory in /home/mysite/public_html/app/Mage.php on line 37
Warning: include_once() [function.include]: Failed opening 'Varien_Autoload.php' for inclusion (include_path='/home/mysite/public_html/includes/src:.:/usr/lib/php:/usr/local/lib/php') in /home/mysite/public_html/app/Mage.php on line 37
Fatal error: Class 'Varien_Autoload' not found in /home/mysite/public_html/app/Mage.php on line 53
The important thing: how to get it up again? Maybe through editing MySQL tables?
If you've got shell access, running
$ php shell/compiler.php disable
from the root of your site will disable compilation mode.
If that doesn't work it means someone's diddled with the compiler configuration file in such a way that it won't work with the compiler.php script. If that's the case look in
includes/config.php
and comment out the two define function calls
##define('COMPILER_INCLUDE_PATH', dirname(__FILE__).DIRECTORY_SEPARATOR.'src');
#define('COMPILER_COLLECT_PATH', dirname(__FILE__).DIRECTORY_SEPARATOR.'stat');
comment out the two define function calls in includes/config.php path
#define('COMPILER_INCLUDE_PATH', dirname(__FILE__).DIRECTORY_SEPARATOR.'src');
#define('COMPILER_COLLECT_PATH', dirname(__FILE__).DIRECTORY_SEPARATOR.'stat');

What does GNU make error 58 mean?

I am running a build process and it has failed with this error that I cannot find much about. The error is Error 58, which fails on an object (.o) file. what does this mean?
If you are running on windows: Runtime error 58 usually displays in most Microsoft Windows operating systems. It occurs when Windows cannot insert data into a saved or renamed file that is identical to a file name that already exists in the specified folder.
EDIT: Try doing a clean and getting rid of your intermediate and end files before doing a build. Does it still happen ?

Resources