Forums / Setup & design / Site stopped working

Site stopped working

Author Message

Michael Zielinski

Wednesday 05 July 2006 1:37:27 am

Hi,
I have some major problems with a site I am developping. http://test.djftechtrans.dk
Until yesterday everything worked fine, but now suddenly users are asked to log in. Even when logged in the following error is shown

Access denied
you don't have access to this area.

Possible reasons for this are:

You are currently not logged in to the site, to get proper access create a new user or login with an existing user.
You misspelled some parts of your URL, try changing it.

I have tried what I could find on the forum, ut still the same. even logging in as admin results in that error. The admin part of the site works fine and another site on the same server works fine too.

I have not modified any templates/overrirdes. I installed phpEdit after which the site still worked and I used phpEdit's ftp to browse the site without opening a template.

Any idea what might be wrong?
Thanks

Michael

André R.

Wednesday 05 July 2006 1:45:05 am

You might have done some siteaccess changes.
1.Login as admin and check to see that guests have access to the current siteaccess.
(Roles and policies -> Anonymous -> user login SiteAccess( plain_site ) )
2. make sure you have not set RequireUserLogin=true in public siteaccess

eZ Online Editor 5: http://projects.ez.no/ezoe || eZJSCore (Ajax): http://projects.ez.no/ezjscore || eZ Publish EE http://ez.no/eZPublish/eZ-Publish-Enterprise-Subscription
@: http://twitter.com/andrerom

Michael Zielinski

Wednesday 05 July 2006 1:53:53 am

Checked all that, even tried to delete and create a new anonymous login as mentioned somewhere on the forum.

content read No limitations
content pdf No limitations
user login SiteAccess( techtrans )

/Michael

Michael Zielinski

Thursday 06 July 2006 12:29:16 am

ok seems like I have a db related problem.
I have vreated a new site and moved all the templates and stuffand it was still working, but when I moved the db I got the access denied error again.
Does anybody know how I can find out what's wrong withthe db?

thanks
Michael

Tim Dickinson

Thursday 06 July 2006 3:49:06 am

That error comes from not being able to connect to the datab ase normally (at least that's what I've found).

In each siteaccess check the site.ini.php file and check the database settings

[DatabaseSettings]
DatabaseImplementation=ezmysql
Server=localhost (OR THE ADDRESS OF YOUR DATABASE SERVER)
User=YOUR_MYSQL_USERNAME
Password=YOUR_MYSQL_PASSWORD
Database=YOUR_MYSQL_DATABASE_NAME
Charset=
Socket=disabled

Tim

http://www.AdBalance.com - Ad network news and reviews
http://www.DevPublisher.com - Website publisher guides, tools and news
http://www.AudioMelody.com - Make better music

K259

Thursday 06 July 2006 10:52:42 am

Are you able to access the db through the commandline (mysql prompt?)

eZ debug

Timing: Jan 18 2025 21:00:36
Script start
Timing: Jan 18 2025 21:00:36
Module start 'content'
Timing: Jan 18 2025 21:00:37
Module end 'content'
Timing: Jan 18 2025 21:00:37
Script end

Main resources:

Total runtime0.9730 sec
Peak memory usage4,096.0000 KB
Database Queries207

Timing points:

CheckpointStart (sec)Duration (sec)Memory at start (KB)Memory used (KB)
Script start 0.00000.0065 587.7031180.8438
Module start 'content' 0.00650.7634 768.5469654.1250
Module end 'content' 0.76990.2031 1,422.6719337.0703
Script end 0.9730  1,759.7422 

Time accumulators:

 Accumulator Duration (sec) Duration (%) Count Average (sec)
Ini load
Load cache0.00440.4517210.0002
Check MTime0.00160.1638210.0001
Mysql Total
Database connection0.00160.169410.0016
Mysqli_queries0.876190.03912070.0042
Looping result0.00230.23582050.0000
Template Total0.942496.920.4712
Template load0.00200.202120.0010
Template processing0.940596.651620.4702
Template load and register function0.00010.012710.0001
states
state_id_array0.00070.072610.0007
state_identifier_array0.00080.079620.0004
Override
Cache load0.00170.1729420.0000
Sytem overhead
Fetch class attribute can translate value0.00120.126550.0002
Fetch class attribute name0.00180.184380.0002
XML
Image XML parsing0.00180.182150.0004
class_abstraction
Instantiating content class attribute0.00000.001680.0000
General
dbfile0.01381.4200340.0004
String conversion0.00000.000530.0000
Note: percentages do not add up to 100% because some accumulators overlap

CSS/JS files loaded with "ezjscPacker" during request:

CacheTypePacklevelSourceFiles
CSS0extension/community/design/community/stylesheets/ext/jquery.autocomplete.css
extension/community_design/design/suncana/stylesheets/scrollbars.css
extension/community_design/design/suncana/stylesheets/tabs.css
extension/community_design/design/suncana/stylesheets/roadmap.css
extension/community_design/design/suncana/stylesheets/content.css
extension/community_design/design/suncana/stylesheets/star-rating.css
extension/community_design/design/suncana/stylesheets/syntax_and_custom_tags.css
extension/community_design/design/suncana/stylesheets/buttons.css
extension/community_design/design/suncana/stylesheets/tweetbox.css
extension/community_design/design/suncana/stylesheets/jquery.fancybox-1.3.4.css
extension/bcsmoothgallery/design/standard/stylesheets/magnific-popup.css
extension/sevenx/design/simple/stylesheets/star_rating.css
extension/sevenx/design/simple/stylesheets/libs/fontawesome/css/all.min.css
extension/sevenx/design/simple/stylesheets/main.v02.css
extension/sevenx/design/simple/stylesheets/main.v02.res.css
JS0extension/ezjscore/design/standard/lib/yui/3.17.2/build/yui/yui-min.js
extension/ezjscore/design/standard/javascript/jquery-3.7.0.min.js
extension/community_design/design/suncana/javascript/jquery.ui.core.min.js
extension/community_design/design/suncana/javascript/jquery.ui.widget.min.js
extension/community_design/design/suncana/javascript/jquery.easing.1.3.js
extension/community_design/design/suncana/javascript/jquery.ui.tabs.js
extension/community_design/design/suncana/javascript/jquery.hoverIntent.min.js
extension/community_design/design/suncana/javascript/jquery.popmenu.js
extension/community_design/design/suncana/javascript/jScrollPane.js
extension/community_design/design/suncana/javascript/jquery.mousewheel.js
extension/community_design/design/suncana/javascript/jquery.cycle.all.js
extension/sevenx/design/simple/javascript/jquery.scrollTo.js
extension/community_design/design/suncana/javascript/jquery.cookie.js
extension/community_design/design/suncana/javascript/ezstarrating_jquery.js
extension/community_design/design/suncana/javascript/jquery.initboxes.js
extension/community_design/design/suncana/javascript/app.js
extension/community_design/design/suncana/javascript/twitterwidget.js
extension/community_design/design/suncana/javascript/community.js
extension/community_design/design/suncana/javascript/roadmap.js
extension/community_design/design/suncana/javascript/ez.js
extension/community_design/design/suncana/javascript/ezshareevents.js
extension/sevenx/design/simple/javascript/main.js

Templates used to render the page:

UsageRequested templateTemplateTemplate loadedEditOverride
1node/view/full.tplfull/forum_topic.tplextension/sevenx/design/simple/override/templates/full/forum_topic.tplEdit templateOverride template
6content/datatype/view/ezxmltext.tpl<No override>extension/community_design/design/suncana/templates/content/datatype/view/ezxmltext.tplEdit templateOverride template
8content/datatype/view/ezxmltags/line.tpl<No override>design/standard/templates/content/datatype/view/ezxmltags/line.tplEdit templateOverride template
12content/datatype/view/ezxmltags/paragraph.tpl<No override>extension/ezwebin/design/ezwebin/templates/content/datatype/view/ezxmltags/paragraph.tplEdit templateOverride template
2content/datatype/view/ezimage.tpl<No override>extension/sevenx/design/simple/templates/content/datatype/view/ezimage.tplEdit templateOverride template
1content/datatype/view/ezxmltags/literal.tpl<No override>extension/community/design/standard/templates/content/datatype/view/ezxmltags/literal.tplEdit templateOverride template
1pagelayout.tpl<No override>extension/sevenx/design/simple/templates/pagelayout.tplEdit templateOverride template
 Number of times templates used: 31
 Number of unique templates used: 7

Time used to render debug report: 0.0002 secs