Wrong URL

Author Message

Kenneth Grande

Monday 16 July 2007 12:38:13 am

When i log in to the administration pages from the public part of my web page, i get redirected to the wrong (actually the old) URL.

I press the login link (from my frontpage) and get a new page where i can put my username, password and check the checkbox that suggest logging into the administration section of my site. If i dont check the checkbox everything works fine. If i check it, i get redirected to the old URL.

old URL:
www.site.no:8080

new URL
www2.site.no

Everything else works fine, it is just this part that hasn't got updated information about the new address. My concern is that this value is static from install, and i have to edit it directly in the database somewhere.

has anyone seen this before?

Lukasz Piech

Monday 16 July 2007 12:45:55 am

Hi

Did yu clear the cache after the change?

thx

Lukasz

Kenneth Grande

Monday 16 July 2007 12:50:50 am

Yes

bisk

Monday 16 July 2007 11:02:01 am

Have you checked the [SiteSettings] in the site.ini of your administration siteaccess? Maybe the old url is still listed there.

-------------------------------
http://www.kookfijn.nl & http://www.magento.be

Kenneth Grande

Tuesday 17 July 2007 1:14:45 am

Yes, the old url was listed there.

AdditionalLoginFormActionURL siteaccess

"http://www.site.no:8080/aspit_admin/user/login"

i changed it to:

AdditionalLoginFormActionURL siteaccess

"http://www2.site.no/aspit_admin/user/login"

I saved and tried to log in. But now i only get a blank page when i try to log in (so im locked out of the admin pages). I looked in the ini file (actually an append file), and it looks like i forgot to set this value:

[SiteSettings]
SiteName=aspIT AS
SiteURL=www2.site.no (the old site was listed here too)
LoginPage=embedded

Now i think i just have to clear the cache and all will work, but is there a way to do this without logging in to the admin pages? I can log in directly on my webpages to publish articles and so on, but i cant find the clear cache option here.

k

André R.

Tuesday 17 July 2007 1:58:06 am

>Now i think i just have to clear the cache and all will work, but is there a way to do this
>without logging in to the admin pages? I can log in directly on my webpages to publish
>articles and so on, but i cant find the clear cache option here.

Yes but you have to know the url and have access to the setup part, look at the url when you click 'setup' in the admin interface.

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

Kenneth Grande

Wednesday 18 July 2007 12:43:08 am

>Yes but you have to know the url and have access to the setup part, look at the url when >you click 'setup' in the admin interface.

But if i cant access the admin interface, how am i going to click setup? Perhaps i misunderstood something, could you please explain in more detail what i should do? Im kinda stuck now, and i need to get back to working with the pages.

Kenneth Grande

Wednesday 18 July 2007 1:16:22 am

I read the docs and i noticed the referral to the cache folders, so i figured out that the clear cache function deleted these files. I backed up my configuration and deleted the content of these two folders:

\eZpublish\ezpublish\var
\eZpublish\ezpublish\var\ezwebin_site\cache

Everyting looks fine now

Thank you for your help all, i really appreciate it !

k

eZ debug

Timing: Jan 18 2025 05:21:57
Script start
Timing: Jan 18 2025 05:21:57
Module start 'content'
Timing: Jan 18 2025 05:21:57
Module end 'content'
Timing: Jan 18 2025 05:21:57
Script end

Main resources:

Total runtime0.1627 sec
Peak memory usage2,048.0000 KB
Database Queries141

Timing points:

CheckpointStart (sec)Duration (sec)Memory at start (KB)Memory used (KB)
Script start 0.00000.0065 587.6094180.8438
Module start 'content' 0.00650.0058 768.4531101.8516
Module end 'content' 0.01230.1503 870.3047530.7266
Script end 0.1626  1,401.0313 

Time accumulators:

 Accumulator Duration (sec) Duration (%) Count Average (sec)
Ini load
Load cache0.00362.2027200.0002
Check MTime0.00150.9257200.0001
Mysql Total
Database connection0.00050.327110.0005
Mysqli_queries0.119173.22881410.0008
Looping result0.00160.95681390.0000
Template Total0.149992.210.1499
Template load0.00080.494910.0008
Template processing0.149191.673610.1491
Override
Cache load0.00060.341210.0006
Sytem overhead
Fetch class attribute can translate value0.00140.830610.0014
XML
Image XML parsing0.00020.140310.0002
General
dbfile0.00211.2752200.0001
String conversion0.00000.002930.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
1pagelayout.tpl<No override>extension/sevenx/design/simple/templates/pagelayout.tplEdit templateOverride template
 Number of times templates used: 1
 Number of unique templates used: 1

Time used to render debug report: 0.0002 secs