Link to home
Start Free TrialLog in
Avatar of Shaun Wingrin
Shaun WingrinFlag for South Africa

asked on

Joomla - moved relative path of site...

say, path was Public_html/shaunw/AllOfJoomla

I moved AllOfJoomla to Public_html/ and now get
Website front end was visible from www.site.co.za/shaunw
now not visible from www.site.co.za
and get error  403 - You are not authorised to view this resource, when www.site.co.za
Avatar of Abhijeet Rananaware
Abhijeet Rananaware
Flag of India image

Is your url correct ?.

It should load without any issues after moving.Check .htaccess file. Just rename .htaccess file and test whether site loads.

Regards,
Abhijit
Avatar of Shaun Wingrin

ASKER

renaming htaccess didn't help, but a new one was created.
Even if I move it back - get same issue.
What are files and folders I need in  Public_html
Permissions are 755
I've noticed on certain folders permission is 644
Go to global configuration  and set error reporting to maximum.

And check what error are you getting.? and post error here that will help analyzing the issue.

Regards,
Abhijti
[Fri Aug 24 10:34:25 2012] [client 41.185.121.241] File does not exist: /home/a1t01/public_html/404.shtml
[Fri Aug 24 10:34:25 2012] [client 41.185.121.241] File does not exist: /home/a1t01/public_html/favicon.ico
Avatar of Member_5340450
Member_5340450

if you put a test.html file in public_html can you run
www.site.co.za/test.html?

if you put a test.php file in public_html, can you run
www.site.co.za/test.php?

What is the status of htaccess in public_html?
Is the file named htaccess.txt, (note dot) .htaccess, or something else?
If it is ".htaccess," open it and set RewriteBase to:
RewriteBase /

Is there anywhere in the setup you are referring to Public_html?
Because it should be lowercase "p" public_html.
Joomla site is not root folder of public_html

http://www.site.co.za/configuration.php

http://www.site.co.za/index.php

returns 404 error.

Joomla site located in some other directory for sure .

So are you sure you have moved Joomla site to public_html

Regards,
Abhijit
Hi,

Its ".htaccess," open it and set RewriteBase to:
I set
RewriteBase /

This is error.

It is lower case p


Call stack
#      Function      Location
1      JSite->dispatch()      /home/a1t01/public_html/index.php:42
2      JComponentHelper::renderComponent()      /home/a1t01/public_html/includes/application.php:197
3      JComponentHelper::executeComponent()      /home/a1t01/public_html/libraries/joomla/application/component/helper.php:351
4      require_once()      /home/a1t01/public_html/libraries/joomla/application/component/helper.php:383
5      JController->execute()      /home/a1t01/public_html/components/com_content/content.php:16
6      ContentController->display()      /home/a1t01/public_html/libraries/joomla/application/component/controller.php:760
7      JController->display()      /home/a1t01/public_html/components/com_content/controller.php:74
8      ContentViewForm->display()      /home/a1t01/public_html/libraries/joomla/application/component/controller.php:721
9      JError::raiseError()      /home/a1t01/public_html/components/com_content/views/form/view.html.php:43
10      JError::raise()      /home/a1t01/public_html/libraries/joomla/error/error.php:251
i just went here
http://www.site.co.za/

looks ok

So it's fixed?
Joomla permission for something on that page or the page itself is too high.
All permissions 755...
Have you upgraded your site to joomla 2.5?

If so go to menu manger> main menu> Home for eg(Default) Point it to single joomla article for testing .and then check site should load.

If site loads. Check each menu item and point it to right article or component.

Regards,
Abhijit
No Joomla permissions - not file permissions.
Tx. This step worked:
If so go to menu manger> main menu> Home for eg(Default) Point it to single joomla article for testing .and then check site should load.

However only the default page loads. ?I can select and even edit the articles but get this error when browse to them.

Not Found

The requested URL /about-us.html was not found on this server.

Additionally, a 404 Not Found error was encountered while trying to use an ErrorDocument to handle the request.
The error logs show:
[Mon Aug 27 10:30:46 2012] [client 41.185.121.241] File does not exist: /home/a1t01/public_html/404.shtml, referer: http://a1telecoms.co.za/
[Mon Aug 27 10:30:46 2012] [client 41.185.121.241] File does not exist: /home/a1t01/public_html/about-us.html, referer: http://a1telecoms.co.za/
I've tried creating a new article and attaching this to a menu item and same error
ASKER CERTIFIED SOLUTION
Avatar of Abhijeet Rananaware
Abhijeet Rananaware
Flag of India image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
What is SEF please. I've deleted .htaccess
Global Configuration>Site >SEO Settings>Search Engine Friendly URLs> SET it to NO
I found SEF setting and set to No.
What are implications of this?
How can I get it set back to yes and have site work?
Tx
I set Use URL rewriting to no and I renamed htaccess.txt to .htaccess and enabled Use URL rewriting and SEF to Yes and all working nicely.
Tx
:D...Glad you were able to make site work.

Regards,
Abhijit
I guess you were using old joomla version's .htaccess file thats why it was happening.
tx