I have to say that I like D7. But as I read from other users I have to admit it's buggy.
I've just installed the SITES module. Adding my first link this is the error I get:
Warning: file() [function.file]: URL file-access is disabled in the server configuration in /home/worldtat/public_html/modules/boonex/sites/classes/BxSitesModule.php on line 994
Warning:
file(http://www.shrinktheweb.com/xino.php?Size=lg&Service=ShrinkWebUrlThumbnail&Action=Thumbnail&STWAccessKeyId=cab8dee019304a3&stwu=65e44&stwUrl=http://www.joharrison.co.uk/)
[function.file]: failed to open stream: no suitable wrapper could be found in /home/worldtat/public_html/modules/boonex/sites/classes/BxSitesModule.php on line 994
Warning: implode() [function.implode]: Invalid arguments passed in /home/worldtat/public_html/modules/boonex/sites/classes/BxSitesModule.php on line 995
Anyone?
|
Hello
As I read from the error seems that you have something wrong in your server configuration.
Which is your hosting provider?
Have you checked all the required settings for Dolphin in your php.ini file?
First of all you should enable the URL file-access to make that mod work.
Let me know
|
I get them too. Nothing wrong with my server configurtaion. It's a random error message. I get them with my email templates. This particular one has to do with not being able to reach the site Dolphin uses to create a snapshot of the website that's being added into the sites mod.
This particular feature doesn't work well at all.
http://towtalk.net ... Hosted by Zarconia.net! |
Hi,
My hosting is certifiedHosting which is suggested on the Bonex site. They also have the 1 click installation service. So I assume they are fine.
Where do I enable the URL file-access?
Thank
|
As I know that should be make the Dolphin security lower, but just try if it works this way:
In your php.ini file
allow_url_fopen = On;
allow_url_include= On;
Just try, if it works the problem must be here.
This is a common issue in php5
|
As I know that should be make the Dolphin security lower, but just try if it works this way:
In your php.ini file
allow_url_fopen = On;
allow_url_include= On;
Just try, if it works the problem must be here.
This is a common issue in php5
I need more info. My Url include is set to off. Did not know it needed to be on....
http://towtalk.net ... Hosted by Zarconia.net! |
Thats odd. I cannot find the control to turn on the allow_url_include. http://towtalk.net ... Hosted by Zarconia.net! |
Thats odd. I cannot find the control to turn on the allow_url_include.
It's controlled by your web server's php.ini file. Also, it's suppose to remain off. Anyone saying otherwise hasn't read the requirements (unless they are not suggesting to use it with Dolphin).
I'm shocked. Of all people, I thought you would have known this the most.
BoonEx Certified Host: Zarconia.net - Fully Supported Shared and Dedicated for Dolphin |
As I say this should be solve the problem, but I did not try it by myself, just try and let me know
If it works must open a ticket.
JOOsocial
|
Thats odd. I cannot find the control to turn on the allow_url_include.
It's controlled by your web server's php.ini file. Also, it's suppose to remain off. Anyone saying otherwise hasn't read the requirements (unless they are not suggesting to use it with Dolphin).
I'm shocked. Of all people, I thought you would have known this the most.
I have a php configuration editor on my server. The allow_url_include option is not listed in it and I haven't gotten around to manually adjusting the ini file yet. The <sitename> problem has been an issue for me for a while and no one has resolved it or given any real help in identifying why it does what it does. It seems to affect different people differently and I was willing to give it a shot. At least we'd have somewhere to start.
BTW, I have never professed any skills at this, especially with PHP. I know that this particular function that uses an outside website to create a thumbnail of a site being added to D7 is kind of a funky deal and doesn't really work anyway and I was searching for a solution
http://towtalk.net ... Hosted by Zarconia.net! |
This is probably because you do not have have the full access to all the configurations of your server.
You should contact your hosting provider to set that to "On" for a while, just to see if the mod works.
JOOsocial
|
Well like Magnussoft reiterated to me, you cannot turn allow_url_include on with Dolphin. The site won't let you in once you do. It is a definite no no.....
PS, I do have full access to my VPS at HostForWeb, I just need to learn how to use the Shell and get away from tHe GoOyEy InTeRfAcE
http://towtalk.net ... Hosted by Zarconia.net! |
I see.So it must be something else.You should understand how many people have the same problem.If there are some you should open a detailed ticket.
This is the first time I see this error, and I am concerned as you.
JOOsocial
|
Here's my newest one. What seems weird to me it's always a different error. I do get the email template error quite often but I also get these random ones like this one from my game zone.
I don't think it's the game zone or the email template, I think it's something to do with the communications between the database and the site itself.
Database error in
Query:
UPDATE `gz_battles` set score2a= , accepted=1 where id='1'
Mysql error: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near ' accepted=1 where id='1'' at line 1
Found error in the file '/home/skyforum/public_html/gamezone/gamezone.inc.php' at line 866. Called 'db_res' function with erroneous argument #0.
http://towtalk.net ... Hosted by Zarconia.net! |
As I know that should be make the Dolphin security lower, but just try if it works this way:
In your php.ini file
allow_url_fopen = On;
allow_url_include= On;
Just try, if it works the problem must be here.
This is a common issue in php5
allow_url_fopen should be On.
But make sure that allow_url_include is Off, because it is not safe to turn this option on, Dolphin do not need allow_url_include to be on.
Rules → http://www.boonex.com/terms |
allow_url_fopen should be On.
But make sure that allow_url_include is Off, because it is not safe to turn this option on, Dolphin do not need allow_url_include to be on.
Dolphin does not use or require 'allow_url_include' to be either on or off, technically the script will function with it set either way. There is a check (in a few files) that requires it to be set to 'off', this will stop your site from being installed / functioning
I personally think that this choice should be down to the user as this directive is actually used in many other scripts. It generally considered a good practice to turn this directive to off for security reasons, but the 'allow_url_include' directive itself is not a security risk. The risk is the application of the directive - ie remote file execution can utilise URL inclusion to run an offsite file. But, it is still possible to achieve this by other means - especially when you consider that allow_url_include only applies to http:// and ftp:// protocols not php://.
Personally I think that server security should be the choice of the user.
/DM
Dolphin - Ajax Masturbation |
allow_url_fopen should be On.
But make sure that allow_url_include is Off, because it is not safe to turn this option on, Dolphin do not need allow_url_include to be on.
Dolphin does not use or require 'allow_url_include' to be either on or off, technically the script will function with it set either way. There is a check (in a few files) that requires it to be set to 'off', this will stop your site from being installed / functioning
I personally think that this choice should be down to the user as this directive is actually used in many other scripts. It generally considered a good practice to turn this directive to off for security reasons, but the 'allow_url_include' directive itself is not a security risk. The risk is the application of the directive - ie remote file execution can utilise URL inclusion to run an offsite file. But, it is still possible to achieve this by other means - especially when you consider that allow_url_include only applies to http:// and ftp:// protocols not php://.
Personally I think that server security should be the choice of the user.
/DM
There are so many things wrong with what you've suggested, but I can't say anything, since it's a large, inside joke. Other than that, I must somewhat agree with you.
Still, if you have another script that requires it to be on, you can always use a php_flag in the .htaccess file of the script's directory.
BoonEx Certified Host: Zarconia.net - Fully Supported Shared and Dedicated for Dolphin |
Sorry for not being aware of the in joke.
My point is simply that that the 'allow_url_include' directive is irrelevant to Dolphin functionality, it should be my choice not the Dolphins coders, as to how I set up and run my server.
It is ironic that this directive should cause the script to exit, yet other relevant requirements are not even checked.
/DM
Dolphin - Ajax Masturbation |
Actually....
...reading between the lines - does this mean that this directive IS relevant.
Are you saying that there is a remote file inclusion vulnerability in D7 - and this is the fix??
/DM
Dolphin - Ajax Masturbation |
Sorry for not being aware of the in joke.
My point is simply that that the 'allow_url_include' directive is irrelevant to Dolphin functionality, it should be my choice not the Dolphins coders, as to how I set up and run my server.
It is ironic that this directive should cause the script to exit, yet other relevant requirements are not even checked.
/DM
The script requires it to be off, and for good reasons. This also has no affect on your server, as you can always set the global value to on, and just turn it off within a .htaccess file in the root directory of the script.
Oh, it checks for other settings to be in order, but it doesn't shut the whole show down (except for a few other setting errors).
BoonEx Certified Host: Zarconia.net - Fully Supported Shared and Dedicated for Dolphin |
Actually....
...reading between the lines - does this mean that this directive IS relevant.
Are you saying that there is a remote file inclusion vulnerability in D7 - and this is the fix??
/DM
You're starting to catch onto the inside joke: Dolphin's security.
BoonEx Certified Host: Zarconia.net - Fully Supported Shared and Dedicated for Dolphin |
The script requires it to be off, and for good reasons.
Where?
Why?
you can always set the global value to on,
and just turn it off within a .htaccess file in the root directory of
the script.
Not if you have PHP compiled as CGI
Dolphin - Ajax Masturbation |
The script requires it to be off, and for good reasons.
Where?
Why?
you can always set the global value to on,
and just turn it off within a .htaccess file in the root directory of
the script.
Not if you have PHP compiled as CGI
Why? I just said why.
Ha ha ha, CGI. You people make me laugh... You can just do the equivalent by adding a php.ini file with the needed settings in the root of the script's directory.
BoonEx Certified Host: Zarconia.net - Fully Supported Shared and Dedicated for Dolphin |
LOL - sorry - thought you meant there was a more valid reason
Ha ha ha, CGI. You people make me laugh... You can just do the
equivalent by adding a php.ini file with the needed settings in the root
of the script's directory.
I know.
My point is simply that it should be my choice - not Boonex'
Maybe there should be a check in the code to see if you like blue cheese:-
if ( $user ['likes_blue_cheese'] == TRUE)
{
$everything = 'ok';
} else {
$BoonexGlobalDominance = TRUE; Self_Destruct('computer', 'meltdown'); exit;
}
Dolphin - Ajax Masturbation |
LOL - sorry - thought you meant there was a more valid reason
Ha ha ha, CGI. You people make me laugh... You can just do the
equivalent by adding a php.ini file with the needed settings in the root
of the script's directory.
I know.
My point is simply that it should be my choice - not Boonex'
Maybe there should be a check in the code to see if you like blue cheese:-
if ( $user ['likes_blue_cheese'] == TRUE)
{
$everything = 'ok';
} else {
$BoonexGlobalDominance = TRUE; Self_Destruct('computer', 'meltdown'); exit;
}
That was an actual function by AlexT at one point, but Andrew and Mike forced him to remove it from the final release.
BoonEx Certified Host: Zarconia.net - Fully Supported Shared and Dedicated for Dolphin |
Dolphin - Ajax Masturbation |
Here's my newest one. What seems weird to me it's always a different error. I do get the email template error quite often but I also get these random ones like this one from my game zone.
I don't think it's the game zone or the email template, I think it's something to do with the communications between the database and the site itself.
Database error in
Query:
UPDATE `gz_battles` set score2a= , accepted=1 where id='1'
Mysql error: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near ' accepted=1 where id='1'' at line 1
Found error in the file '/home/skyforum/public_html/gamezone/gamezone.inc.php' at line 866. Called 'db_res' function with erroneous argument #0.
SF,
i would think the error that has been posted here is caused by something from the gamezone, as its specifically telling you the error on the gamezone.inc.php
fire rayz a ticket on this and he will get it sorted for you.
Regards,
DosDawg
When a GIG is not enough --> Terabyte Dolphin Technical Support - Server Management and Support |
Here's my newest one. What seems weird to me it's always a different error. I do get the email template error quite often but I also get these random ones like this one from my game zone.
I don't think it's the game zone or the email template, I think it's something to do with the communications between the database and the site itself.
Database error in
Query:
UPDATE `gz_battles` set score2a= , accepted=1 where id='1'
Mysql error: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near ' accepted=1 where id='1'' at line 1
Found error in the file '/home/skyforum/public_html/gamezone/gamezone.inc.php' at line 866. Called 'db_res' function with erroneous argument #0.
SF,
i would think the error that has been posted here is caused by something from the gamezone, as its specifically telling you the error on the gamezone.inc.php
fire rayz a ticket on this and he will get it sorted for you.
Regards,
DosDawg
NOPE! If I told you, you wouldn't believe me. So I will tell you just to reiterate how illiterate I am at Linux and php.
First off, I set a limit for outgoing email. Mistake #1. Then somehow, and I am not sure how this happened because I didnlt do it, my cron setup got triplicated and changed (weird huh).
Then I had an email address in the cron thingy.
Then it started sending emails every minute or so, times three.
Then all of a sudden, I hit the limit wall and the mail server locked up tight.
Then it started sending "hey, I'm locked up again and I need attention" emails to me. (or actually to itself).. Of course, using the email server that wasn't actually working.
Can you see where this is going?
Only I can make a non functioning email server get locked in a loop filling the queue with emails to itself that it cannot send out, thereby creating a self fulfilling prophecy of failure and doom.
So, someone tried to send an email from the gamezone during this process of frits and sparks.... and we got that error message on the backup email address.
But hey, I'M COOL! I fixed the limit issue FIRST and could not get to the mail queue FAST ENOUGH to delete them all before it sent out several thousand emails and I spent the next 2 hrs deleting them off all my local machines.......
http://towtalk.net ... Hosted by Zarconia.net! |