Access denied
Questions related to the configuration of Joomla, Templates, and Security related questions/issues
Rate this topic:
- GK User
- Thu Apr 26, 2012 11:08 am
I cannot edit articles, modules, users etc ... when i tried to do this an error appears
You are not permitted to use that link to directly access that page (#77). the last number (#number) varies. I have registered the template and it is already validated... can you help me?
Thanks in advance,
You are not permitted to use that link to directly access that page (#77). the last number (#number) varies. I have registered the template and it is already validated... can you help me?
Thanks in advance,
-
- Fresh Boarder
- GK User
- Thu Apr 26, 2012 4:34 pm
Hi,
Can you send me a PM to provide an admin account to check that?
Thanks,
Can you send me a PM to provide an admin account to check that?
Thanks,
-
- Platinum Boarder
- GK User
- Fri Apr 27, 2012 7:47 am
Dear Dom,
Did you receive my pm ?
John
Did you receive my pm ?
John
-
- Fresh Boarder
- GK User
- Fri Apr 27, 2012 4:34 pm
Hi John,
I got it and checked the issue for you but without any success yet. I also have searched on the internet, a lot of people have the same problem, I tried some solution but they didn't help. We should try together to find out a proper solution https://www.google.com/search?q=joomla+ ... =firefox-a
Cheers,
I got it and checked the issue for you but without any success yet. I also have searched on the internet, a lot of people have the same problem, I tried some solution but they didn't help. We should try together to find out a proper solution https://www.google.com/search?q=joomla+ ... =firefox-a
Cheers,
-
- Platinum Boarder
- GK User
- Wed May 02, 2012 8:18 am
Dear Don,
I downgrade the esport template version and the virtuemart version at http://www.dioni-art.gr/administrator and everything seems to be fine now.
But suddenly i have the same problem to a shop we created last month and working perfect till today.
http://www.natural-olive-cosmetics.gr/eshop
From today i have the same message "You are not permitted to use that link to directly access that page"
Please help, i don't know what to say to my client.
Best Regards,
John Pantazis
I downgrade the esport template version and the virtuemart version at http://www.dioni-art.gr/administrator and everything seems to be fine now.
But suddenly i have the same problem to a shop we created last month and working perfect till today.
http://www.natural-olive-cosmetics.gr/eshop
From today i have the same message "You are not permitted to use that link to directly access that page"
Please help, i don't know what to say to my client.
Best Regards,
John Pantazis
-
- Fresh Boarder
- GK User
- Wed May 02, 2012 2:35 pm
Dear Don,
I downgrade the esport template version and the virtuemart version at http://www.dioni-art.gr/administrator and everything seems to be fine now.
But suddenly i have the same problem to a shop we created last month and working perfect till today.
http://www.natural-olive-cosmetics.com/eshop
From today i have the same message "You are not permitted to use that link to directly access that page"
Please help, i don't know what to say to my client.
Best Regards,
John Pantazis
I downgrade the esport template version and the virtuemart version at http://www.dioni-art.gr/administrator and everything seems to be fine now.
But suddenly i have the same problem to a shop we created last month and working perfect till today.
http://www.natural-olive-cosmetics.com/eshop
From today i have the same message "You are not permitted to use that link to directly access that page"
Please help, i don't know what to say to my client.
Best Regards,
John Pantazis
-
- Fresh Boarder
- GK User
- Wed May 02, 2012 4:51 pm
Hi John,
This link doesn't exist.
And I'm stuck on such an issue too, I don't know what's really causing the problem. Have you try doing the same to the other site what is to downgrade VM and template version to check if it can help too?
What's about if you downgrade only VM?
This link doesn't exist.
And I'm stuck on such an issue too, I don't know what's really causing the problem. Have you try doing the same to the other site what is to downgrade VM and template version to check if it can help too?
What's about if you downgrade only VM?
-
- Platinum Boarder
- GK User
- Thu May 03, 2012 10:26 am
Dear Don,
I am really surprised because the link http://www.natural-olive-cosmetics.com/eshop works perfectly to us, to our customer and to our customer customers.
I really don't understand why you don't see the website. May be you need a rooter reset.
So, here is an answer to our problem with access denied.
From the esport template, when i buy an item the pop up cart shows, and if I choose to CONTINUE SHOPPING this error appears:
Fatal error: Cannot access empty property in /var/www/vhosts/natural-olive-cosmetics.comhttpdocs/eshop/libraries/joomla/registry/registry.php on line 336
This error was at the http://www.dioni-art.gr/index.php too.
At httpdocs/eshop/libraries/joomla/registry/redistry.php
I change the code:
Line.332 for ($i = 0, $n = count($nodes) - 1; $i < $n; $i++)
{
if (!isset($node->$nodes[$i]) && ($i != $n))
{
$node->$nodes[$i] = new stdClass;
}
$node = $node->$nodes[$i];
}
// Get the old value if exists so we can return it
$result = $node->$nodes[$i] = $value;
Line.343 }
Replaced with ($nodes with nodes)
for ($i = 0, $n = count($nodes) - 1; $i < $n; $i++)
{
if (!isset($node->nodes[$i]) && ($i != $n))
{
$node->nodes[$i] = new stdClass;
}
$node = $node->nodes[$i];
}
// Get the old value if exists so we can return it
$result = $node->nodes[$i] = $value;
}
And the above error corrected but … then I had no permission to articles, modules etc, as described above. Seems like a deadlock so far.
Could you please check and provide me a solution.
Thank you.
John Pantazis
I am really surprised because the link http://www.natural-olive-cosmetics.com/eshop works perfectly to us, to our customer and to our customer customers.
I really don't understand why you don't see the website. May be you need a rooter reset.
So, here is an answer to our problem with access denied.
From the esport template, when i buy an item the pop up cart shows, and if I choose to CONTINUE SHOPPING this error appears:
Fatal error: Cannot access empty property in /var/www/vhosts/natural-olive-cosmetics.comhttpdocs/eshop/libraries/joomla/registry/registry.php on line 336
This error was at the http://www.dioni-art.gr/index.php too.
At httpdocs/eshop/libraries/joomla/registry/redistry.php
I change the code:
Line.332 for ($i = 0, $n = count($nodes) - 1; $i < $n; $i++)
{
if (!isset($node->$nodes[$i]) && ($i != $n))
{
$node->$nodes[$i] = new stdClass;
}
$node = $node->$nodes[$i];
}
// Get the old value if exists so we can return it
$result = $node->$nodes[$i] = $value;
Line.343 }
Replaced with ($nodes with nodes)
for ($i = 0, $n = count($nodes) - 1; $i < $n; $i++)
{
if (!isset($node->nodes[$i]) && ($i != $n))
{
$node->nodes[$i] = new stdClass;
}
$node = $node->nodes[$i];
}
// Get the old value if exists so we can return it
$result = $node->nodes[$i] = $value;
}
And the above error corrected but … then I had no permission to articles, modules etc, as described above. Seems like a deadlock so far.
Could you please check and provide me a solution.
Thank you.
John Pantazis
-
- Fresh Boarder
- GK User
- Thu May 03, 2012 4:30 pm
Hi John,
I see the site now, I don't know why I couldn't access it before. Now please recovery the file, don't make any change to Joomla core's files, then let me debug with the error:
It may be a problem from somewhere else, some function that doesn't return correct data to that file causing the issue, so don't make changes/fixes on that, it's a core file.
Once you've changed it back, let me know, then I will enable debug mode to diagnose to find the root of problem.
Cheers,
I see the site now, I don't know why I couldn't access it before. Now please recovery the file, don't make any change to Joomla core's files, then let me debug with the error:
- Code: Select all
Fatal error: Cannot access empty property in /var/www/vhosts/natural-olive-cosmetics.comhttpdocs/eshop/libraries/joomla/registry/registry.php on line 336
It may be a problem from somewhere else, some function that doesn't return correct data to that file causing the issue, so don't make changes/fixes on that, it's a core file.
Once you've changed it back, let me know, then I will enable debug mode to diagnose to find the root of problem.
Cheers,
-
- Platinum Boarder
- GK User
- Fri May 04, 2012 10:22 am
Dear Don,
Please let's try to debug http://www.dioni-art.gr/index.php as it is on testing and not http://www.natural-olive-cosmetics.com/eshop because it is on air.
So if you can please follow the instructions below to check the error.
Step1. Enter http://www.dioni-art.gr/index.php/en
Step2. Press the + on a product to add it to cart.
Step3. On pop-up window choose CONTINUE SHOPPING
The error:
Fatal error: Cannot access empty property in /var/www/vhosts/dioni-art.grhttpdocs/libraries/joomla/registry/registry.php on line 336
As I expected $node had an initial error value meaning:
Try this:
Choose from left category BEADS for example
Then ALLUMINUM BEADS and a product
Add to cart and then CONTINUE SHOPPING.
…… no error!
My opinion is that, there is no initial “category” exists in the system, so CONTINUE SHOPPING returns NULL or something.
In PM i send you admin access.
Waiting for your news.
Best Regards,
John Pantazis
Please let's try to debug http://www.dioni-art.gr/index.php as it is on testing and not http://www.natural-olive-cosmetics.com/eshop because it is on air.
So if you can please follow the instructions below to check the error.
Step1. Enter http://www.dioni-art.gr/index.php/en
Step2. Press the + on a product to add it to cart.
Step3. On pop-up window choose CONTINUE SHOPPING
The error:
Fatal error: Cannot access empty property in /var/www/vhosts/dioni-art.grhttpdocs/libraries/joomla/registry/registry.php on line 336
As I expected $node had an initial error value meaning:
Try this:
Choose from left category BEADS for example
Then ALLUMINUM BEADS and a product
Add to cart and then CONTINUE SHOPPING.
…… no error!
My opinion is that, there is no initial “category” exists in the system, so CONTINUE SHOPPING returns NULL or something.
In PM i send you admin access.
Waiting for your news.
Best Regards,
John Pantazis
-
- Fresh Boarder
- GK User
- Sat May 05, 2012 3:52 pm
Hi,
I need FTP access to debug the error but you didn't give me in the PM, can you please provide. I have just enabled debug mode in your backend and now if you go to the site you will see this error reported:
there is some problem in module News Pro as well.
I need FTP access to debug the error but you didn't give me in the PM, can you please provide. I have just enabled debug mode in your backend and now if you go to the site you will see this error reported:
- Code: Select all
JDatabaseMySQL::query: 1146 - Table 'dionidata.khfwl_vm_product' doesn't exist SQL=SELECT content.product_id AS id, COUNT(comments.product_id) AS count FROM khfwl_vm_product AS content LEFT JOIN khfwl_vm_product_reviews AS comments ON comments.product_id = content.product_id WHERE comments.published AND ( content.product_id = 89 OR content.product_id = 88 OR content.product_id = 87 OR content.product_id = 86 OR content.product_id = 85 OR content.product_id = 93 OR content.product_id = 94 OR content.product_id = 95 ) GROUP BY comments.product_id ;
Call stack
# Function Location
1 JSite->render() JROOT/index.php:48
2 JDocumentHTML->render() JROOT/includes/application.php:272
3 JDocumentHTML->_renderTemplate() JROOT/libraries/joomla/document/html/html.php:433
4 JDocumentHTML->getBuffer() JROOT/libraries/joomla/document/html/html.php:655
5 JDocumentRendererModules->render() JROOT/libraries/joomla/document/html/html.php:371
6 JDocumentRendererModule->render() JROOT/libraries/joomla/document/html/renderer/modules.php:39
7 JModuleHelper::renderModule() JROOT/libraries/joomla/document/html/renderer/module.php:106
8 include() JROOT/libraries/joomla/application/module/helper.php:175
9 NSP_GK4_Helper->getDatas() JROOT/modules/mod_news_pro_gk4/mod_news_pro_gk4.php:28
10 NSP_GK4_VM_Source->getComments() JROOT/modules/mod_news_pro_gk4/helper.php:438
11 JDatabase->loadObjectList() JROOT/modules/mod_news_pro_gk4/gk_classes/gk.source.vm.php:385
12 JDatabaseMySQL->query() JROOT/libraries/joomla/database/database.php:1071
13 JError::raiseError() JROOT/libraries/joomla/database/database/mysql.php:542
14 JError::raise() JROOT/libraries/joomla/error/error.php:251
there is some problem in module News Pro as well.
-
- Platinum Boarder
- GK User
- Mon May 07, 2012 9:46 am
Send FTP access via PM
Thanks
John Pantazis
Thanks
John Pantazis
-
- Fresh Boarder
- GK User
- Tue May 08, 2012 9:13 am
Did you receive my PM ?
-
- Fresh Boarder
- GK User
- Wed May 09, 2012 8:46 am
Dear Don,
Please confirm the reception of the PM.
Thanks
John Pantazis
Please confirm the reception of the PM.
Thanks
John Pantazis
-
- Fresh Boarder
- GK User
- Thu May 10, 2012 2:47 pm
Hi John,
Sorry for my delay, I have received the PM, thanks a lot for that. And I also have fixed the problem with GK News Show module for you. It was a bug of the module, I have just reported it to a developer to fix for next release.
Change log::
- File: /modules/mod_news_pro_gk4/gk_classes/gk.source.vm.php
- Wrong code:
- Changed to:
- Wrong code:
- Changed to:
Sorry for my delay, I have received the PM, thanks a lot for that. And I also have fixed the problem with GK News Show module for you. It was a bug of the module, I have just reported it to a developer to fix for next release.
Change log::
- File: /modules/mod_news_pro_gk4/gk_classes/gk.source.vm.php
- Wrong code:
- Code: Select all
$sql_where .= ($i != 0) ? ' OR content.product_id = '.$ids[$i] : ' content.product_id = '.$ids[$i];
- Changed to:
- Code: Select all
$sql_where .= ($i != 0) ? ' OR content.virtuemart_product_id = '.$ids[$i] : ' content.virtuemart_product_id = '.$ids[$i];
- Wrong code:
- Code: Select all
$query_news = '
SELECT
content.product_id AS id,
COUNT(comments.product_id) AS count
FROM
#__vm_product AS content
LEFT JOIN
#__vm_product_reviews AS comments
ON
comments.product_id = content.product_id
WHERE
comments.published
AND ( '.$sql_where.' )
GROUP BY
comments.product_id
;';
- Changed to:
- Code: Select all
$query_news = '
SELECT
content.virtuemart_product_id AS id,
COUNT(comments.virtuemart_product_id) AS count
FROM
#__virtuemart_products AS content
LEFT JOIN
#__virtuemart_rating_reviews AS comments
ON
comments.virtuemart_product_id = content.virtuemart_product_id
WHERE
comments.published
AND ( '.$sql_where.' )
GROUP BY
comments.virtuemart_product_id
;';
-
- Platinum Boarder
- GK User
- Thu May 10, 2012 3:03 pm
And regarding the issue with VM, there was VM router BUG on multilangs site with the VM menu item only for 1 lang, see http://forum.virtuemart.net/index.php?t ... #msg329471
Cheers,
Cheers,
-
- Platinum Boarder
16 posts
• Page 1 of 1