Install Magento 1.9x with downloader.php - php

I wanted to install Magento 1.9x on my localhost (I am using XAMPP), but I get an alert with an undefined error. Here is what I did so far:
I went to https://magento.com/tech-resources/download and downloaded the archive with 1.9x which contains a file named downloader.php.
I copy it on the root of my local site aka magestore.com and then went to http://local.magestore.com/downloader.php.
The first steps were pretty smooth and everything was fine except the download step.
when I click continue I get an alert with an undefined error, like this:
If I choose the FTP method at Magento Connect Channel Protocol I get another alert saying Could not connect to connect20.magentocommerce.com. Try again (refresh page)
Help, please!

Related

SilverStripe - The website server has not been able to respond to your request

I'm trying to create my first SilverStripe website following this tutorial.
So far I have created my website and configured my .env page.
# DB credentials
SS_DATABASE_CLASS="MySQLDatabase"
SS_DATABASE_SERVER="localhost"
SS_DATABASE_USERNAME="root"
SS_DATABASE_PASSWORD=""
SS_DATABASE_NAME="SS_examples"
SS_ENVIRONMENT_TYPE="dev"
I'm not sure entirely how the database is created when creating a site. I checked my databases and I do not have one for it. I can make one manually but I wasn't sure if I should and list it under SS_DATABASE_NAME, or if it will auto-create the db.
I'm assuming this is why when I visit my local site localhost/SSexample/public I get an error saying "The website server has not been able to respond to your request".
Am I missing a step in setting up the site or should I manually create a db named SS_examples?
on a side note my apache server is set up with xampp and my SilverStripe project is in C:/xamp/htdocs.
Steps I took to create site:
Built site in C:\xampp\htdocs by running: composer create-project silverstripe/installer SSexample
Visited my project by going to localhost/SSexample/public
created .env file as listed above
ERROR LOGS
[2019-12-31 22:29:22] error-log.ERROR: Uncaught Exception SilverStripe\ORM\Connect\DatabaseException: "Couldn't run query: SELECT DISTINCT "SiteConfig"."ClassName", "SiteConfig"."LastEdited", "SiteConfig"."Created", "SiteConfig"."Title", "SiteConfig"."Tagline", "SiteConfig"."CanViewType", "SiteConfig"."CanEditType", "SiteConfig"."CanCreateTopLevelType", "SiteConfig"."ID", CASE WHEN "SiteConfig"."ClassName" IS NOT NULL THEN "SiteConfig"."ClassName" ELSE 'SilverStripe\\SiteConfig\\SiteConfig' END AS "RecordClassName" FROM "SiteConfig" LIMIT 1 Table 'ss_lessons.siteconfig' doesn't exist" at C:\xampp\htdocs\SSlessons\vendor\silverstripe\framework\src\ORM\Connect\DBConnector.php line 64 {"exception":"[object] (SilverStripe\\ORM\\Connect\\DatabaseException(code: 0): Couldn't run query:\n\nSELECT DISTINCT \"SiteConfig\".\"ClassName\", \"SiteConfig\".\"LastEdited\", \"SiteConfig\".\"Created\", \"SiteConfig\".\"Title\", \"SiteConfig\".\"Tagline\", \"SiteConfig\".\"CanViewType\", \"SiteConfig\".\"CanEditType\", \"SiteConfig\".\"CanCreateTopLevelType\", \"SiteConfig\".\"ID\", \n\t\t\tCASE WHEN \"SiteConfig\".\"ClassName\" IS NOT NULL THEN \"SiteConfig\".\"ClassName\"\n\t\t\tELSE 'SilverStripe\\\\SiteConfig\\\\SiteConfig' END AS \"RecordClassName\"\n\r\nFROM \"SiteConfig\"\n\r\nLIMIT 1\n\nTable 'ss_lessons.siteconfig' doesn't exist at C:\\xampp\\htdocs\\SSlessons\\vendor\\silverstripe\\framework\\src\\ORM\\Connect\\DBConnector.php:64)"} []
It seems that the installer at localhost/SSexample/public should allow you to configure your database connection settings (and create the database for you).
Getting The website server has not been able to respond to your request error means that you have a problem with webserver - is it running?
EDIT: The website server has not been able to respond to your request is actually Silverstripe's generic error 500 message.
EDIT2: one has to enable dev environment - by adding SS_ENVIRONMENT_TYPE="dev" to .env file and then access localhost/SSexample/public/dev/build to get database created and populated.

Error Creating a Remote Project in Eclipse

In Eclipse 2019-09 I can SSH onto my PHP test server and view the files using RSE, but when I right click on a folder and select 'Create Remote Project' I get an error message saying 'Internal Error: Invalid Thread Access'.
The project seems to be created when I switch back to PHP view but it's empty.
Does anyone know what might be going wrong here and how to resolve it?
Thanks
After the project was created, I refreshed it and it worked.
Under 'Properties -> Resource -> Linked Resources' was an empty entry. I removed that and got rid of the error messages.

Wordpress Call to a member function set_return_url() on a non-object

I have an error in a fresh Wordpress installation. Everytime I click on "Design -> Customize" I receive this error:
Call to a member function set_return_url() on a non-object in \wp-admin\customize.php on line 28
I have tested it with Wordpress version 4.5 and 4.6.1, and always got the same result.
I installed it local with XAMPP, first with the URL "localhost:8080" then with the URL "localhost.local". Everything works fine, instead of the click to customize...
Has someone had a similar error in the past?
If your site works fine on localhost or 127.0.0.1, but error occur on sever, you can try to update the WordPress permalinks (Settings->Permalinks).
If you have you edited any line of code in the theme you use - revert back changes.
Also you can try to switch and use the other old default WordPress theme(s) like TwentyFifteen for example, in order to see if it works fine. Then try once by switching the theme to default WordPress theme.

Setting up Magento 1.4 locally, MAMP

As the title says, I am trying to set up an old 1.4 Magento installation locally with MAMP.
Things i did so far:
Download entire website
Import Database
Change unsecure and secure base_url
Change database user information in local.xml
Delete everything inside the var folder
Set PHP version to 5.3
A fresh install of 1.4 Magento works fine on my system.
All I get is a Magento error screen saying "There has been an error processing your request"
The error messages generated to the var/report folder are exe files, and return something like
/Applications/MAMP/htdocs/sandbergdesign/var/report/624953303320: line 17: syntax error near unexpected token }'
/Applications/MAMP/htdocs/sandbergdesign/var/report/624953303320: line 17:#16 {main}";s:3:"url";s:1:"/";s:11:"script_name";s:10:"/index.php";s:4:"skin";s:7:"default";}'
logout
When clicked
I got it up and running.
I decided to download a fresh Magento 1.9, and installed it using the OLD database, the one from the Magento 1.4 site.
I also had to truncate the following tables in the DB:
Truncate all log_ tables
Truncate report_event, report_compared_product_index, and report_viewed_product_index
After truncating I could complete the installation process, and can proceed to implement the old theme, test functionality, etc.

Facing Fatal Error in magento

I am very new to magento, I am trying to install "Invoice PDF generator" extension. I installed it through the magento connect, after pressing install button I got message like "Clear cache successfully".
After this message I pressed refresh button and then return to admin link. But after clicking on that link I am facing fatal error like
Class 'EaDesign_PdfGenerator_Helper_Data not found in E:\wamp\www\leeveNew\app\Mage.php on line 547.
Can anybody please tell me if I done anything wrong and suggest any solution for it.
Note : My magento version is 1.9.0.1.
you need to disable extension from app/etc/modules/ then you need to remove var/cache folder then try in admin panel will work.

Categories