<?php defined('SYSPATH') or die('No direct script access.'); ?>
2011-08-24 10:35:15 -07:00 --- error: Kohana_Exception [ 403 ]: @todo FORBIDDEN
/home/foreverm/public_html/gallery/modules/gallery/helpers/access.php [ 202 ]
#0 /home/foreverm/public_html/gallery/modules/gallery/helpers/access.php(425): access_Core::forbidden()
#1 /home/foreverm/public_html/gallery/modules/basket/controllers/basket.php(331): access_Core::verify_csrf()
#2 [internal function]: Basket_Controller->complete()
#3 /home/foreverm/public_html/gallery/system/core/Kohana.php(331): ReflectionMethod->invokeArgs(Object(Basket_Controller), Array)
#4 [internal function]: Kohana_Core::instance(NULL)
#5 /home/foreverm/public_html/gallery/system/core/Event.php(208): call_user_func_array(Array, Array)
#6 /home/foreverm/public_html/gallery/application/Bootstrap.php(67): Event_Core::run('system.execute')
#7 /home/foreverm/public_html/gallery/index.php(102): require('/home/foreverm/...')
#8 {main}
2011-08-24 10:35:15 -07:00 --- error: Missing messages entry kohana/core.errors.403 for message kohana/core
2011-08-24 11:40:23 -07:00 --- error: Kohana_Exception [ 403 ]: @todo FORBIDDEN
/home/foreverm/public_html/gallery/modules/gallery/helpers/access.php [ 202 ]
#0 /home/foreverm/public_html/gallery/modules/gallery/helpers/access.php(425): access_Core::forbidden()
#1 /home/foreverm/public_html/gallery/modules/gallery/controllers/login.php(31): access_Core::verify_csrf()
#2 [internal function]: Login_Controller->auth_ajax()
#3 /home/foreverm/public_html/gallery/system/core/Kohana.php(331): ReflectionMethod->invokeArgs(Object(Login_Controller), Array)
#4 [internal function]: Kohana_Core::instance(NULL)
#5 /home/foreverm/public_html/gallery/system/core/Event.php(208): call_user_func_array(Array, Array)
#6 /home/foreverm/public_html/gallery/application/Bootstrap.php(67): Event_Core::run('system.execute')
#7 /home/foreverm/public_html/gallery/index.php(102): require('/home/foreverm/...')
#8 {main}
2011-08-24 11:40:23 -07:00 --- error: Missing messages entry kohana/core.errors.403 for message kohana/core
2011-08-24 11:41:27 -07:00 --- error: Kohana_Exception [ 403 ]: @todo FORBIDDEN
/home/foreverm/public_html/gallery/modules/gallery/helpers/access.php [ 202 ]
#0 /home/foreverm/public_html/gallery/modules/gallery/helpers/access.php(425): access_Core::forbidden()
#1 /home/foreverm/public_html/gallery/modules/gallery/controllers/login.php(31): access_Core::verify_csrf()
#2 [internal function]: Login_Controller->auth_ajax()
#3 /home/foreverm/public_html/gallery/system/core/Kohana.php(331): ReflectionMethod->invokeArgs(Object(Login_Controller), Array)
#4 [internal function]: Kohana_Core::instance(NULL)
#5 /home/foreverm/public_html/gallery/system/core/Event.php(208): call_user_func_array(Array, Array)
#6 /home/foreverm/public_html/gallery/application/Bootstrap.php(67): Event_Core::run('system.execute')
#7 /home/foreverm/public_html/gallery/index.php(102): require('/home/foreverm/...')
#8 {main}
2011-08-24 11:41:27 -07:00 --- error: Missing messages entry kohana/core.errors.403 for message kohana/core
2011-08-24 11:44:36 -07:00 --- error: Kohana_Exception [ 403 ]: @todo FORBIDDEN
/home/foreverm/public_html/gallery/modules/gallery/helpers/access.php [ 202 ]
#0 /home/foreverm/public_html/gallery/modules/gallery/helpers/access.php(425): access_Core::forbidden()
#1 /home/foreverm/public_html/gallery/modules/gallery/controllers/login.php(31): access_Core::verify_csrf()
#2 [internal function]: Login_Controller->auth_ajax()
#3 /home/foreverm/public_html/gallery/system/core/Kohana.php(331): ReflectionMethod->invokeArgs(Object(Login_Controller), Array)
#4 [internal function]: Kohana_Core::instance(NULL)
#5 /home/foreverm/public_html/gallery/system/core/Event.php(208): call_user_func_array(Array, Array)
#6 /home/foreverm/public_html/gallery/application/Bootstrap.php(67): Event_Core::run('system.execute')
#7 /home/foreverm/public_html/gallery/index.php(102): require('/home/foreverm/...')
#8 {main}
2011-08-24 11:44:36 -07:00 --- error: Missing messages entry kohana/core.errors.403 for message kohana/core
2011-08-24 12:02:24 -07:00 --- error: Kohana_Exception [ 403 ]: @todo FORBIDDEN
/home/foreverm/public_html/gallery/modules/gallery/helpers/access.php [ 202 ]
#0 /home/foreverm/public_html/gallery/modules/gallery/helpers/access.php(425): access_Core::forbidden()
#1 /home/foreverm/public_html/gallery/modules/basket/controllers/basket.php(379): access_Core::verify_csrf()
#2 [internal function]: Basket_Controller->add_to_basket()
#3 /home/foreverm/public_html/gallery/system/core/Kohana.php(331): ReflectionMethod->invokeArgs(Object(Basket_Controller), Array)
#4 [internal function]: Kohana_Core::instance(NULL)
#5 /home/foreverm/public_html/gallery/system/core/Event.php(208): call_user_func_array(Array, Array)
#6 /home/foreverm/public_html/gallery/application/Bootstrap.php(67): Event_Core::run('system.execute')
#7 /home/foreverm/public_html/gallery/index.php(102): require('/home/foreverm/...')
#8 {main}
2011-08-24 12:02:24 -07:00 --- error: Missing messages entry kohana/core.errors.403 for message kohana/core
2011-08-24 12:37:28 -07:00 --- error: Kohana_Exception [ 403 ]: @todo FORBIDDEN
/home/foreverm/public_html/gallery/modules/gallery/helpers/access.php [ 202 ]
#0 /home/foreverm/public_html/gallery/modules/gallery/helpers/access.php(425): access_Core::forbidden()
#1 /home/foreverm/public_html/gallery/modules/gallery/controllers/login.php(51): access_Core::verify_csrf()
#2 [internal function]: Login_Controller->auth_html()
#3 /home/foreverm/public_html/gallery/system/core/Kohana.php(331): ReflectionMethod->invokeArgs(Object(Login_Controller), Array)
#4 [internal function]: Kohana_Core::instance(NULL)
#5 /home/foreverm/public_html/gallery/system/core/Event.php(208): call_user_func_array(Array, Array)
#6 /home/foreverm/public_html/gallery/application/Bootstrap.php(67): Event_Core::run('system.execute')
#7 /home/foreverm/public_html/gallery/index.php(102): require('/home/foreverm/...')
#8 {main}
2011-08-24 12:37:28 -07:00 --- error: Missing messages entry kohana/core.errors.403 for message kohana/core
2011-08-24 12:44:31 -07:00 --- error: Kohana_Exception [ 403 ]: @todo FORBIDDEN
/home/foreverm/public_html/gallery/modules/gallery/helpers/access.php [ 202 ]
#0 /home/foreverm/public_html/gallery/modules/gallery/helpers/access.php(425): access_Core::forbidden()
#1 /home/foreverm/public_html/gallery/modules/basket/controllers/basket.php(382): access_Core::verify_csrf()
#2 [internal function]: Basket_Controller->add_to_basket()
#3 /home/foreverm/public_html/gallery/system/core/Kohana.php(331): ReflectionMethod->invokeArgs(Object(Basket_Controller), Array)
#4 [internal function]: Kohana_Core::instance(NULL)
#5 /home/foreverm/public_html/gallery/system/core/Event.php(208): call_user_func_array(Array, Array)
#6 /home/foreverm/public_html/gallery/application/Bootstrap.php(67): Event_Core::run('system.execute')
#7 /home/foreverm/public_html/gallery/index.php(102): require('/home/foreverm/...')
#8 {main}
2011-08-24 12:44:31 -07:00 --- error: Missing messages entry kohana/core.errors.403 for message kohana/core
2011-08-24 12:49:07 -07:00 --- error: Kohana_Exception [ 403 ]: @todo FORBIDDEN
/home/foreverm/public_html/gallery/modules/gallery/helpers/access.php [ 202 ]
#0 /home/foreverm/public_html/gallery/modules/gallery/helpers/access.php(425): access_Core::forbidden()
#1 /home/foreverm/public_html/gallery/modules/basket/controllers/basket.php(382): access_Core::verify_csrf()
#2 [internal function]: Basket_Controller->add_to_basket()
#3 /home/foreverm/public_html/gallery/system/core/Kohana.php(331): ReflectionMethod->invokeArgs(Object(Basket_Controller), Array)
#4 [internal function]: Kohana_Core::instance(NULL)
#5 /home/foreverm/public_html/gallery/system/core/Event.php(208): call_user_func_array(Array, Array)
#6 /home/foreverm/public_html/gallery/application/Bootstrap.php(67): Event_Core::run('system.execute')
#7 /home/foreverm/public_html/gallery/index.php(102): require('/home/foreverm/...')
#8 {main}
2011-08-24 12:49:07 -07:00 --- error: Missing messages entry kohana/core.errors.403 for message kohana/core
2011-08-24 12:49:33 -07:00 --- error: Kohana_Exception [ 403 ]: @todo FORBIDDEN
/home/foreverm/public_html/gallery/modules/gallery/helpers/access.php [ 202 ]
#0 /home/foreverm/public_html/gallery/modules/gallery/helpers/access.php(425): access_Core::forbidden()
#1 /home/foreverm/public_html/gallery/modules/basket/controllers/basket.php(382): access_Core::verify_csrf()
#2 [internal function]: Basket_Controller->add_to_basket()
#3 /home/foreverm/public_html/gallery/system/core/Kohana.php(331): ReflectionMethod->invokeArgs(Object(Basket_Controller), Array)
#4 [internal function]: Kohana_Core::instance(NULL)
#5 /home/foreverm/public_html/gallery/system/core/Event.php(208): call_user_func_array(Array, Array)
#6 /home/foreverm/public_html/gallery/application/Bootstrap.php(67): Event_Core::run('system.execute')
#7 /home/foreverm/public_html/gallery/index.php(102): require('/home/foreverm/...')
#8 {main}
2011-08-24 12:49:33 -07:00 --- error: Missing messages entry kohana/core.errors.403 for message kohana/core
2011-08-24 12:54:00 -07:00 --- error: File not found: login
2011-08-24 12:54:11 -07:00 --- error: File not found: login
2011-08-24 12:54:39 -07:00 --- error: File not found: login
2011-08-24 12:54:40 -07:00 --- error: File not found: login
2011-08-24 12:54:54 -07:00 --- error: File not found: login
2011-08-24 12:55:13 -07:00 --- error: File not found: login
2011-08-24 12:55:21 -07:00 --- error: Kohana_Exception [ 403 ]: @todo FORBIDDEN
/home/foreverm/public_html/gallery/modules/gallery/helpers/access.php [ 202 ]
#0 /home/foreverm/public_html/gallery/modules/gallery/helpers/access.php(425): access_Core::forbidden()
#1 /home/foreverm/public_html/gallery/modules/gallery/controllers/login.php(51): access_Core::verify_csrf()
#2 [internal function]: Login_Controller->auth_html()
#3 /home/foreverm/public_html/gallery/system/core/Kohana.php(331): ReflectionMethod->invokeArgs(Object(Login_Controller), Array)
#4 [internal function]: Kohana_Core::instance(NULL)
#5 /home/foreverm/public_html/gallery/system/core/Event.php(208): call_user_func_array(Array, Array)
#6 /home/foreverm/public_html/gallery/application/Bootstrap.php(67): Event_Core::run('system.execute')
#7 /home/foreverm/public_html/gallery/index.php(102): require('/home/foreverm/...')
#8 {main}
2011-08-24 12:55:21 -07:00 --- error: Missing messages entry kohana/core.errors.403 for message kohana/core
2011-08-24 13:09:36 -07:00 --- error: exception 'Database_Exception' with message '#1048: Column 'password_id' cannot be null [ INSERT INTO `albumpassword_idcaches`
(`password_id`, `item_id`)
VALUES (NULL, NULL) ]' in /home/foreverm/public_html/gallery/system/libraries/Database_Mysql_Result.php:27
Stack trace:
#0 /home/foreverm/public_html/gallery/system/libraries/Database_Mysql.php(124): Database_Mysql_Result_Core->__construct(false, 'INSERT INTO `al...', Resource id #23, true)
#1 /home/foreverm/public_html/gallery/system/libraries/Database.php(272): Database_Mysql_Core->query_execute('INSERT INTO `al...')
#2 /home/foreverm/public_html/gallery/modules/gallery/libraries/MY_Database.php(45): Database_Core->query('INSERT INTO `al...')
#3 /home/foreverm/public_html/gallery/system/libraries/Database_Builder.php(973): Database->query('INSERT INTO `al...')
#4 /home/foreverm/public_html/gallery/system/libraries/ORM.php(823): Database_Builder_Core->execute(Object(Database_Mysql))
#5 /home/foreverm/public_html/gallery/modules/gallery/libraries/MY_ORM.php(23): ORM_Core->save()
#6 /home/foreverm/public_html/gallery/modules/albumpassword/helpers/albumpassword_task.php(140): ORM->save()
#7 [internal function]: albumpassword_task_Core::update_idcaches(Object(Task_Model))
#8 /home/foreverm/public_html/gallery/modules/gallery/helpers/task.php(90): call_user_func_array('albumpassword_t...', Array)
#9 /home/foreverm/public_html/gallery/modules/gallery/controllers/admin_maintenance.php(194): task_Core::run('9')
#10 [internal function]: Admin_Maintenance_Controller->run('9')
#11 /home/foreverm/public_html/gallery/modules/gallery/controllers/admin.php(62): call_user_func_array(Array, Array)
#12 [internal function]: Admin_Controller->__call('maintenance', Array)
#13 /home/foreverm/public_html/gallery/system/core/Kohana.php(331): ReflectionMethod->invokeArgs(Object(Admin_Controller), Array)
#14 [internal function]: Kohana_Core::instance(NULL)
#15 /home/foreverm/public_html/gallery/system/core/Event.php(208): call_user_func_array(Array, Array)
#16 /home/foreverm/public_html/gallery/application/Bootstrap.php(67): Event_Core::run('system.execute')
#17 /home/foreverm/public_html/gallery/index.php(102): require('/home/foreverm/...')
#18 {main}
2011-08-24 13:09:52 -07:00 --- error: File not found: login
2011-08-24 19:23:21 -07:00 --- error: Kohana_Exception [ 403 ]: @todo FORBIDDEN
/home/foreverm/public_html/gallery/modules/gallery/helpers/access.php [ 202 ]
#0 /home/foreverm/public_html/gallery/modules/gallery/helpers/access.php(425): access_Core::forbidden()
#1 /home/foreverm/public_html/gallery/modules/gallery/controllers/login.php(31): access_Core::verify_csrf()
#2 [internal function]: Login_Controller->auth_ajax()
#3 /home/foreverm/public_html/gallery/system/core/Kohana.php(331): ReflectionMethod->invokeArgs(Object(Login_Controller), Array)
#4 [internal function]: Kohana_Core::instance(NULL)
#5 /home/foreverm/public_html/gallery/system/core/Event.php(208): call_user_func_array(Array, Array)
#6 /home/foreverm/public_html/gallery/application/Bootstrap.php(67): Event_Core::run('system.execute')
#7 /home/foreverm/public_html/gallery/index.php(102): require('/home/foreverm/...')
#8 {main}
2011-08-24 19:23:21 -07:00 --- error: Missing messages entry kohana/core.errors.403 for message kohana/core
Posts: 16503
Frames are evil, don't use them.
Try actually hosting the content for your gallery on the server that is serving up gallery.forevermomentspa.com
____________________________________________
Like Gallery? Like the support? Donate now!
Posts: 16503
BTW, it seems to work for me using Chrome.
____________________________________________
Like Gallery? Like the support? Donate now!
Posts: 13
Unfortunately I can't host the gallery and the main site on the same server. The main site is a Weebly website that a friend/client already had prior to me setting up gallery for them. They don't want to give up their Weebly site but they liked the idea of a free way that people can view and purchase their photos.
Frames??? Where do you see frames? I integrated the Weebly template into gallery using HTML & CSS.
I haven't tried chrome. To see the problems that I am having with the Basket module when using gallery.forevermoments see http://gallery.menalto.com/node/90636?page=4 and look for the post dated 2011-08-24.
Thanks for your responses!
Posts: 26097
From the source:
<frame marginwidth="0" marginheight="0" framespacing="0" frameborder="no" name="mainwindow" src="http://50.22.11.10/~foreverm/gallery">Anyway I suspect the issue is one of security. Session data is keyed to the browser and server. I suspect that is the reason why you get 'forbidden' errors in access.php.
I'm not going to dig though the code to see where the session data is so you can remove it to fix this unusual case.
You can if you wish but it might be easier to move the site and have the proceeds of one photo pay for the hosting each month.
Dave
_____________________________________________
Blog & G2 || floridave - Gallery Team
Posts: 16503
gallery.forevermomentspa.com is hosted at 98.124.199.1 (eNom)
forevermomentspa.com is hosted at 199.34.228.100 (weebly)
And your site is hosted on a different server as well.
If they want free hosting from you, why not just have them change their DNS records and point the A name record for gallery.forevermementspa.com to your 50.22.11.10 address and make sure that Apache's vhost settings accept requests for that site?
____________________________________________
Like Gallery? Like the support? Donate now!
Posts: 16503
And btw, quality hosting actually doesn't cost that much and if this is a business they need to make a decision, do they want to run a professional operation or be some fly-by-night operation?
____________________________________________
Like Gallery? Like the support? Donate now!
Posts: 13
Ahh, I see now. Yes, gallery.forevermoments.com is a frames page. I did not realize this before. I put in a tech request with Weebly to have a subdomain named "gallery" point to http://50.22.11.10/~foreverm/gallery and this is the result. They just made a frames page under a directory name "gallery" and put a frames page in it that loads the gallery I setup from a different location. (I know that I am stating the obvious but there will be someone who will read this post that wouldn't be able to make sense of it without all of the details.)
So, I will put in another tech request with them and this times specifically ask that they point the A name record for gallery.forevermementspa.com to 50.22.11.10/~foreverm/gallery.
If this doesn't resolve the issues then I'll probably just scrap the use of the subdomain all together and link directly to http://50.22.11.10/~foreverm/gallery. Paying for hosting is not the issue here. The site owner actually pays for their Weebly site. (It's premium or Pro account, something like that.) I have offered to setup an account for them with my hosting company for free (I have a reseller account) and create a Joomla site but they simply like Weebly. They are comfortable with it and know how to make changes when necessary.
So whatever the end solution is it will probably still involve the Weebly site.
Thanks for your help!
Posts: 13
Update: I have never actually logged into my friend's Weebly account before. I sent an email to support. It looks as though if I log into my friends account I can set and A name record myself. If interested, see: http://kb.weebly.com/domain-settings.html.
Posts: 16503
It doesn't work exactly like that you need to point the A record to 50.22.11.10 and then on your server there how you get gallery.forevermoments.com to show up there depends on how you are setup. If you have root access you need to create a new vhost record for Apache. If this is some other host you use, you need to create a new domain for gallery.forevermoments.com on that server, probably through their control panel.
____________________________________________
Like Gallery? Like the support? Donate now!
Posts: 16503
Keep an eye on this thread, we might come up with a solution:
http://gallery.menalto.com/node/103547
____________________________________________
Like Gallery? Like the support? Donate now!
Posts: 13
Hello
I have installed the basket module on Gallery 3. I have the site running on a sub-domain. When the checkout button is pressed the site stalls and does nothing. It does not send you to paypal. Any Advice on how to remedy this issue??
My site is 4606photography.com