-
Posts
63 -
Joined
-
Last visited
-
Days Won
1
Posts posted by Moby2000
-
-
Hi Mike
I hope they can give some pointers to the array code because i don't want to disable all the csrf tokens.
Steve
-
Well using Mikes code in the config.php file didn't disable the CSRF token
but by disabling the line above it worked.
// Enable/disable automatic CSRF token verification Configure::set("Blesta.verify_csrf_token", false);
But I take it this isn't good practice disabling all csrf tokens.
Steve
-
I tried doing this for you but I failed LOL. I hope the guys can help you out and tell me where I went wrong.
I edited: config/blesta.php with:
// CSRF checking is a security feature, BE SURE YOU KNOW WHAT YOU ARE DOING BEFORE SETTING THIS VALUE Configure::set("Blesta.csrf_bypass", array('client_login::index','domain_form::index'));
That should disable the hash needed).
Then this was the code:
<html> <head> <title>Domains Form.</title> </head> <body> <form action="http://billing.cubicwebs.com/plugin/order/main/preconfig/domains" method="post"> Domain: <input type="text" value="" placeholder="yourdomain" size="20"> <select name="tlds"> <option name="tlds[]" value=".com" id="t.com">.com</option> <option name="tlds[]" value=".org" id="t.org">.org</option> <option name="tlds[]" value=".net" id="t.net">.net</option> <option name="tlds[]" value=".in" id="t.in">.in</option> <option name="tlds[]" value=".co" id="t.co">.co</option> <option name="tlds[]" value=".biz" id="t.biz">.biz</option> <option name="tlds[]" value=".info" id="t.info">.info</option> <option name="tlds[]" value=".us" id="t.us">.us</option> <option name="tlds[]" value=".name" id="t.name">.name</option> <option name="tlds[]" value=".co.uk" id="t.co.uk">.co.uk</option> <option name="tlds[]" value=".tel" id="t.tel">.tel</option> <option name="tlds[]" value=".mobi" id="t.mobi">.mobi</option> <option name="tlds[]" value=".eu" id="t.eu">.eu</option> <option name="tlds[]" value=".asia" id="t.asia">.asia</option> <option name="tlds[]" value=".me" id="t.me">.me</option> <option name="tlds[]" value=".tv" id="t.tv">.tv</option> </select> <input name="lookup" type="submit" value="Go"> </form> </body> </hmtl>
Hi Mike, All !
For anyone interested I think i have this working using what Mike started with.
<select name="tlds"> change to <select name="tlds[]">
This now works but because the hash changes i think after 24hrs then it fails again.
I haven't changed the config.php and just making sure before i do that the hash will be disabled only for the lookup.
You were nearly there Mike ! lol
Steve
-
Hi All !
Did anyone have any luck in figuring this out?
Trying to create the same thing for my website
Steve
-
-
-
That did the trick!
Upgrade successful now going to have some fun doing the design
Thanks for your help mike!
steve
-
-
-
Hi Mike
Now i see this in the browser....
Fatal error: Class 'Plugin' not found in /home/my-domain/public_html/client-area/plugins/system_status/system_status_plugin.php on line 11
Oh noes!Class 'Plugin' not found on line 11 in /home/my-domain/public_html/client-area/plugins/system_status/system_status_plugin.php
Fatal error: Uncaught exception 'UnknownException' with message 'Invalid callback Session::sessionWrite, cannot access private method Session::sessionWrite()' in Unknown:0 Stack trace: #0 [internal function]: UnknownException::setErrorHandler(2, 'Invalid callbac...', 'Unknown', 0, Array) #1 {main} thrown in Unknown on line 0
Warning: Invalid callback Session::sessionClose, cannot access private method Session::sessionClose() in Unknown on line 0that time i got as far as the upgrade button ?? lol
Steve
-
Hi all
Ok i've just uploaded 3.2 and when i go to "admin/upgrade" all i'm getting is a white screen?
I've uploaded using Dreamweaver (that took forever) and also tried uploading the zip via cPanel then extracting all the files into thier respective folders.
Same result...
any ideas ?
Regards
Steve
-
Hi All!
Blesta has been working like a dream for months now. then logged into my account and there's a cron problem.
When clicking the link i see the "Apply Payments to Open Invoices" is still running.
Looking at the cron in Tools the task has started but not finnished. (Attempting to apply credits to open invoices.) running since 07.00 this morning.
Blesta and modules are all up to date.
any ideas gents?
Steve
Strike it!
The problem corrected itself after the six hour lock I read about.
(Don't ya just hate it when that happens!) lol!
Steve
-
Hi All!
Blesta has been working like a dream for months now. then logged into my account and there's a cron problem.
When clicking the link i see the "Apply Payments to Open Invoices" is still running.
Looking at the cron in Tools the task has started but not finnished. (Attempting to apply credits to open invoices.) running since 07.00 this morning.
Blesta and modules are all up to date.
any ideas gents?
Steve
-
Hi Mike, Paul
I wanted to keep them in thier own groups so i created another group for Upgrading/Downgrading and just added all the packags to that group, then on the packages creation page added the group to the list.
That did the trick.
Now i still have the seperate grouping but on the client services it shows all the packages to upgrade and downgrade.
Steve
-
Hi All
I'm trying to find out how you can upgrade a client from one package to another.
When you go into the clients services there is no option for upgrades. Is there a method to achieve this?
I think it's because each package i have created is in it's own group?
Regards
Steve
-
-
-
-
Hi Tyson
The only changes i've made are to the template, no code changes.
I have updated to 3.0.6 round that time and updated the modules and plugins.
Ran the SQL statement against the database and got this result.
Ran the cron manually from the browser using the generated cron key... that worked.
Cleared the message.
Also in the cPanel error logs there is nothing at all.
Steve
-
-
I've just noticed something strange?
All tasks have been completed.
Attempting to run all system tasks.
Attempting to validate the license.
The license validation task has completed.
Attempting to backup the database to AmazonS3.
The backup completed successfully.
The AmazonS3 database backup task has completed.
Attempting to backup the database via SFTP.
The backup completed successfully.
The SFTP database backup task has completed.
All system tasks have been completed.
This is part of the email i recieve.
I don't have an account with Amazon or even set a backup task to anywhere.
Any ideas ?
Steve
Ok forget this part just read the response to dgerman
-
I've just noticed something strange?
All tasks have been completed.
Attempting to run all system tasks.
Attempting to validate the license.
The license validation task has completed.
Attempting to backup the database to AmazonS3.
The backup completed successfully.
The AmazonS3 database backup task has completed.
Attempting to backup the database via SFTP.
The backup completed successfully.
The SFTP database backup task has completed.
All system tasks have been completed.
This is part of the email i recieve.
I don't have an account with Amazon or even set a backup task to anywhere.
Any ideas ?
Steve
-
It's annoying when you open your admin panel and it's staring you in the face! lol
-
Hi CubicWebs
In the cron logs the entries are showing once again all tasks have completed successfuly
I have had this issue for a few days now so i don't think it's going to fix itself. It's just strange that eveything seems to be working ok?
Steve
Any Ideas Guys
in Support
Posted
Never had a problem with blesta support. these guys are always here to help and don't just fob you off.
This is one of the friendliest forums i have used. Usually it's a user problem not the software.
Steve