Questions tagged [index.php]

The tag has no usage guidance.

Filter by
Sorted by
Tagged with
0
votes
1answer
62 views

Uncaught RuntimeException: ObjectManager isn't initialized in vendor\magento\framework\App\ObjectManager.php on line 31

I am trying to write some business logic root folder of index.php file, but it's throwing below error. Uncaught RuntimeException: ObjectManager isn't initialized in vendor\magento\framework\App\...
0
votes
2answers
161 views

Print the index.php code instead of execute in magento 2

I have installed magento 2 in my ubuntu and I tried to run magento setup, it print the index.php code. Help me.
0
votes
0answers
70 views

Configuring Magento 2.2.7 document root to pub

In relation to this earlier question at Difference between root index.php and pub directory index.php in Magento2? I'm using a cPanel hosted domain and am wondering if I should just set the document ...
0
votes
2answers
28 views

index.php is on main url after last update

After we did the last update to Magento our homepage url went from https://dutchmanaxles.com to https://dutchmanaxles.com/index.php This only appears on the main page, and we have done all the ...
1
vote
0answers
127 views

Website not found -> 404 on each page including admin

I have just cloned a Magento website to my local environment and the website showing 404, regardless what page I visit even the admin panel is 404. I am using Magento 1.9.3.8 and running it on MAMP 5....
0
votes
1answer
93 views

Remove index.php from magento url in sitemap.xml

We have removed the annoying index.php from all of our urls in magento 1.9.3.8 and the frontend is working beautifully (server rewrites and htaccess properly set up etc.). However, our sitemap.xml is ...
1
vote
4answers
171 views

How can i remove index.php from Categories URL & Products URL? [duplicate]

In my base url not have index.php, but my all categories and products url consists index.php. How can i remove this. Note : Base url have not index.php
0
votes
1answer
540 views

Two entry point: index.php and pub/index.php

I am facing the problem of having two entry points to Magento2 index.php and pub/index.php. I want to add another DIR called "pub", add this to the document root load and test it. Currently it is: ...
0
votes
1answer
163 views

Magento 1.9.0.1 - Can only access admin panel using htttp://domain.com/index.php/admin

I am struggling to find a solution to this problem the site in question http://vvspris.no can only grants access to the admin panel if i use "index.php" between the url and admin panel name i.e ...
0
votes
1answer
50 views

My magento Redirecting on live site [duplicate]

I have One wholesaler folder in magento root in which one index.php file in that file i found this code /** * Compilation includes configuration file */ $compilerConfig = 'includes/config.php'; if (...
0
votes
1answer
222 views

PHTML to PHP for PDF print out purpose

I have some difficulties to convert some phtml codes into php (note: simple conversion with online tools html to php does not work therefore please do not answer if it is to refer online tool). Below ...
3
votes
0answers
199 views

Matching CLI Bootstrap Params to pub/index.php's Bootstrap Params

Magento 2 has, infamously, two index.php files. The first is in the root folder index.php the second is in a pub folder pub/index.php A Magento developer needs to chose which file they're going ...