• Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 687
  • Last Modified:

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
0
shaunwingin
Asked:
shaunwingin
  • 15
  • 8
  • 4
1 Solution
 
Abhijeet RananawareWeb & Mobile DeveloperCommented:
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
0
 
shaunwinginAuthor Commented:
renaming htaccess didn't help, but a new one was created.
0
 
shaunwinginAuthor Commented:
Even if I move it back - get same issue.
What are files and folders I need in  Public_html
0
Independent Software Vendors: We Want Your Opinion

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

 
shaunwinginAuthor Commented:
Permissions are 755
0
 
shaunwinginAuthor Commented:
I've noticed on certain folders permission is 644
0
 
Abhijeet RananawareWeb & Mobile DeveloperCommented:
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
0
 
shaunwinginAuthor Commented:
[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
0
 
joomla_phpCommented:
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.
0
 
Abhijeet RananawareWeb & Mobile DeveloperCommented:
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
0
 
shaunwinginAuthor Commented:
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
0
 
joomla_phpCommented:
i just went here
http://www.site.co.za/

looks ok

So it's fixed?
0
 
shaunwinginAuthor Commented:
0
 
joomla_phpCommented:
Joomla permission for something on that page or the page itself is too high.
0
 
shaunwinginAuthor Commented:
All permissions 755...
0
 
Abhijeet RananawareWeb & Mobile DeveloperCommented:
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
0
 
joomla_phpCommented:
No Joomla permissions - not file permissions.
0
 
shaunwinginAuthor Commented:
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.
0
 
shaunwinginAuthor Commented:
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/
0
 
shaunwinginAuthor Commented:
I've tried creating a new article and attaching this to a menu item and same error
0
 
Abhijeet RananawareWeb & Mobile DeveloperCommented:
Disable SEF first of all.Backup and delete .htaccess file.Once you doit add comment I will check site.

Its Menu issue for sure which is linked to wrong article id or component ids

Regards.
Abhijit
0
 
shaunwinginAuthor Commented:
What is SEF please. I've deleted .htaccess
0
 
Abhijeet RananawareWeb & Mobile DeveloperCommented:
Global Configuration>Site >SEO Settings>Search Engine Friendly URLs> SET it to NO
0
 
shaunwinginAuthor Commented:
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
0
 
shaunwinginAuthor Commented:
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
0
 
Abhijeet RananawareWeb & Mobile DeveloperCommented:
:D...Glad you were able to make site work.

Regards,
Abhijit
0
 
Abhijeet RananawareWeb & Mobile DeveloperCommented:
I guess you were using old joomla version's .htaccess file thats why it was happening.
0
 
shaunwinginAuthor Commented:
tx
0

Featured Post

How to Use the Help Bell

Need to boost the visibility of your question for solutions? Use the Experts Exchange Help Bell to confirm priority levels and contact subject-matter experts for question attention.  Check out this how-to article for more information.

  • 15
  • 8
  • 4
Tackle projects and never again get stuck behind a technical roadblock.
Join Now