Welcome Guest. Please Login or Register  


You are here: Index > Softaculous Auto Installer > Bugs > Topic : new OpenX causes 500 internal server error



Threaded Mode | Print  

 new OpenX causes 500 internal server error (12 Replies, Read 16184 times)
SoftDux
Group: NOC
Post Group: Working Member
Posts: 111
Status:
Hi,

I just installed OpenX 2.8.7 on a server and when I logged in, I got this:
Quote
Internal Server Error

The server encountered an internal error or misconfiguration and was unable to complete your request.

Please contact the server administrator, webmaster@x.x.x and inform them of the time the error occurred, and anything you might have done that may have caused the error.

More information about this error may be available in the server error log.

Additionally, a 404 Not Found error was encountered while trying to use an ErrorDocument to handle the request.




Looking at cPanel's error logs I see the following:
Quote

[Thu May 12 09:06:16 2011] [error] [client 196.215.3.15] SoftException in Application.cpp:256: File "/home/campaign/public_html/www/admin/plugins/oxMarket/market-info.php" is writeable by group
[Thu May 12 09:06:14 2011] [error] [client 196.215.3.15] SoftException in Application.cpp:256: File "/home/campaign/public_html/www/admin/plugins/oxMarket/market-info.php" is writeable by group
[Thu May 12 08:32:05 2011] [error] [client 196.215.3.15] File does not exist: /home/campaign/public_html/500.shtml, referer: http://campaign.softdux.com/www/admin/
[Thu May 12 08:32:05 2011] [error] [client 196.215.3.15] SoftException in Application.cpp:256: File "/home/campaign/public_html/www/admin/plugins/oxMarket/market-info.php" is writeable by group, referer: http://campaign.softdux.com/www/admin/
[Thu May 12 08:18:36 2011] [error] [client 196.215.3.15] File does not exist: /home/campaign/public_html/500.shtml, referer: http://campaign.softdux.com/www/admin/index.php
[Thu May 12 08:18:36 2011] [error] [client 196.215.3.15] SoftException in Application.cpp:256: File "/home/campaign/public_html/www/admin/plugins/oxMarket/css/ox.market.css.php" is writeable by group, referer: http://campaign.softdux.com/www/admin/index.php
[Thu May 12 08:18:32 2011] [error] [client 196.215.3.15] File does not exist: /home/campaign/public_html/500.shtml, referer: http://campaign.softdux.com/www/admin/
[Thu May 12 08:18:32 2011] [error] [client 196.215.3.15] SoftException in Application.cpp:256: File "/home/campaign/public_html/www/admin/plugins/oxMarket/css/ox.market.css.php" is writeable by group, referer: http://campaign.softdux.com/www/admin/



So, it seems like market-info.php has been given incorrect permissions. Can you please fix this in the installation script?



EDIT: When I wanted to change the permissions on market-info.php I noticed every single file has 777 permissions

Edited by SoftDux : May 12, 2011, 7:17 am
IP: --   

new OpenX causes 500 internal server error
alons
Group: Administrator
Post Group: Super Member
Posts: 2185
Status:
Hi,

Can you please give me access to one demo account to check this ?

-----------------------
For immediate support please email us at our Support email address. PMs sent to any Softaculous Team member or posting in the forums is not the official way to get support.

Remote Installer - AEFER
Softaculous Webuzo - It is Softaculous Standalone for Enterprises, SMB, Developers. Deploy it on Dedicated Servers, VPS, Virtual Appliances or the Cloud
Softaculous Virtualizor - The Next Generation VPS Panel
IP: --   

new OpenX causes 500 internal server error
chrisadam
Group: Member
Post Group: Newbie
Posts: 8
Status:
Hey guys, I just tested the same install and I have the same error as well.

My url is here:
http://therealestatewebshop.com/adserver

Its still set as default login/pass for testing..
IP: --   

new OpenX causes 500 internal server error
chrisadam
Group: Member
Post Group: Newbie
Posts: 8
Status:
Ok it seems to go to :
http://therealestatewebshop.com/adserver/www/admin/plugins/oxMarket/market-info.php

after login...

If i delete the url all the way back to: (after login) http://therealestatewebshop.com/adserver

It works...
it must be that "oxmarket" im not sure what it is.
IP: --   

new OpenX causes 500 internal server error
chrisadam
Group: Member
Post Group: Newbie
Posts: 8
Status:
nevermind it does not work, the file oxmarket is for creating an openx account....  can someone help please? This install is not working.
IP: --   

new OpenX causes 500 internal server error
chrisadam
Group: Member
Post Group: Newbie
Posts: 8
Status:
Another interesting thing is that is you click the demo in the softaculous cpanel, everything works perfectly... so whats the difference?
IP: --   

new OpenX causes 500 internal server error
Brijesh
Group: Softaculous Team
Post Group: Super Member
Posts: 2219
Status:
Hi,

Which panel are you using and exactly what error are you getting?

-----------------------
Facebook
Twitter
Vote for us
IP: --   

new OpenX causes 500 internal server error
chrisadam
Group: Member
Post Group: Newbie
Posts: 8
Status:
Quote From : Brijesh July 25, 2011, 12:28 pm
Hi,

Which panel are you using and exactly what error are you getting?
Which panel? you mean cpanel? or version number or theme? Be more descriptive please.

What error? Click the link above in one of my other posts where I describe what is happening and you'll see the error. its a 500 internal server error.
IP: --   

new OpenX causes 500 internal server error
Brijesh
Group: Softaculous Team
Post Group: Super Member
Posts: 2219
Status:
Hi,

The Admin panel URL should be:
http://therealestatewebshop.com/adserver/www/admin/index.php

and you can access this page:
http://therealestatewebshop.com/adserver/www/admin/plugins/oxMarket/market-info.php
after you login to the admin panel.


-----------------------
Facebook
Twitter
Vote for us
IP: --   

new OpenX causes 500 internal server error
chrisadam
Group: Member
Post Group: Newbie
Posts: 8
Status:
Quote From : Brijesh July 26, 2011, 10:27 am
Hi,

The Admin panel URL should be:
http://therealestatewebshop.com/adserver/www/admin/index.php

and you can access this page:
http://therealestatewebshop.com/adserver/www/admin/plugins/oxMarket/market-info.php
after you login to the admin panel.
Im not sure what this post is about, but can I get someone to fix my problem please?

This is not a free service as you know, and all we've managed to accomplish is rephrasing my original post.

Now Ive got a business here with clients asking me to fix something that is a part of this product what is the fix for this?

please, ASAP.


IP: --   

new OpenX causes 500 internal server error
Brijesh
Group: Softaculous Team
Post Group: Super Member
Posts: 2219
Status:
Hi,

Please open a support ticket with the root details.
Support department will look into it.

-----------------------
Facebook
Twitter
Vote for us
IP: --   

new OpenX causes 500 internal server error
binhaus
Group: Member
Post Group: Newbie
Posts: 1
Status:
here the fix:
create file 500fix.php then upload to your openx folder then run it from browser
the fix will cmod the folder openx market back from 777 to 755 and file from 777 to 644 which is corect
Code

[font=monospace][b][color=#000000]<?php[/color][/b]
[color=#990000]error_reporting[/color][color=#009900]([/color][b][color=#009900]E_ALL[/color][/b][color=#009900])[/color][color=#339933];[/color]
  [color=#B1B100]require_once[/color] [color=#0000FF]'init.php'[/color][color=#339933];[/color]

    [b][color=#000000]function[/color][/b] oxMarketChmod[color=#009900]([/color][color=#000088]$path[/color][color=#339933],[/color] [color=#000088]$filePerm[/color][color=#339933]=[/color][color=#208080]0644[/color][color=#339933],[/color] [color=#000088]$dirPerm[/color][color=#339933]=[/color][color=#208080]0755[/color][color=#009900])[/color] [color=#009900]{[/color]
      [i][color=#666666]// Check if the path exists[/color][/i]
      [color=#B1B100]if[/color][color=#009900]([/color][color=#339933]![/color][color=#990000]file_exists[/color][color=#009900]([/color][color=#000088]$path[/color][color=#009900])[/color][color=#009900])[/color]
      [color=#009900]{[/color]
      [color=#B1B100]return[/color][color=#009900]([/color][b][color=#009900]FALSE[/color][/b][color=#009900])[/color][color=#339933];[/color]
      [color=#009900]}[/color]
      [i][color=#666666]// See whether this is a file[/color][/i]
      [color=#B1B100]if[/color][color=#009900]([/color][color=#990000]is_file[/color][color=#009900]([/color][color=#000088]$path[/color][color=#009900])[/color][color=#009900])[/color]
      [color=#009900]{[/color]
      [i][color=#666666]// Chmod the file with our given permissions[/color][/i]
      [color=#990000]chmod[/color][color=#009900]([/color][color=#000088]$path[/color][color=#339933],[/color] [color=#000088]$filePerm[/color][color=#009900])[/color][color=#339933];[/color]
      [i][color=#666666]// If this is a directory...[/color][/i]
      [color=#009900]}[/color]

      [color=#B1B100]elseif[/color][color=#009900]([/color][color=#990000]is_dir[/color][color=#009900]([/color][color=#000088]$path[/color][color=#009900])[/color][color=#009900])[/color]
      [color=#009900]{[/color]
      [i][color=#666666]// Then get an array of the contents[/color][/i]
      [color=#000088]$foldersAndFiles[/color] [color=#339933]=[/color] [color=#990000]scandir[/color][color=#009900]([/color][color=#000088]$path[/color][color=#009900])[/color][color=#339933];[/color]
      [i][color=#666666]// Remove "." and ".." from the list[/color][/i]
      [color=#000088]$entries[/color] [color=#339933]=[/color] [color=#990000]array_slice[/color][color=#009900]([/color][color=#000088]$foldersAndFiles[/color][color=#339933],[/color] [color=#CC66CC]2[/color][color=#009900])[/color][color=#339933];[/color]
      [i][color=#666666]// Parse every result...[/color][/i]
      [color=#B1B100]foreach[/color][color=#009900]([/color][color=#000088]$entries[/color] [color=#B1B100]as[/color] [color=#000088]$entry[/color][color=#009900])[/color]
      [color=#009900]{[/color]
      [i][color=#666666]// And call this function again recursively, with the same permissions[/color][/i]
      oxMarketChmod[color=#009900]([/color][color=#000088]$path[/color][color=#339933].[/color][color=#0000FF]"/"[/color][color=#339933].[/color][color=#000088]$entry[/color][color=#339933],[/color] [color=#000088]$filePerm[/color][color=#339933],[/color] [color=#000088]$dirPerm[/color][color=#009900])[/color][color=#339933];[/color]
      [color=#009900]}[/color]
      [i][color=#666666]// When we are done with the contents of the directory, we chmod the directory itself[/color][/i]
      [color=#990000]chmod[/color][color=#009900]([/color][color=#000088]$path[/color][color=#339933],[/color] [color=#000088]$dirPerm[/color][color=#009900])[/color][color=#339933];[/color]
      [color=#009900]}[/color]
      [i][color=#666666]// Everything seemed to work out well, return TRUE[/color][/i]
      [color=#B1B100]return[/color][color=#009900]([/color][b][color=#009900]TRUE[/color][/b][color=#009900])[/color][color=#339933];[/color]
      [color=#009900]}[/color]
    [color=#000088]$plugins[/color] [color=#339933]=[/color] oxMarketChmod[color=#009900]([/color]MAX_PATH[color=#339933].[/color][color=#0000FF]'/plugins/etc/oxMarket'[/color][color=#009900])[/color][color=#339933];[/color]
    [color=#000088]$admin[/color] [color=#339933]=[/color] oxMarketChmod[color=#009900]([/color]MAX_PATH[color=#339933].[/color][color=#0000FF]'/www/admin/plugins/oxMarket'[/color][color=#009900])[/color][color=#339933];[/color]
?>
    [color=#B1B100]if[/color] [color=#009900]([/color][color=#000088]$admin[/color] [color=#339933]==[/color] [color=#000088]$plugins[/color][color=#009900])[/color][color=#009900]{[/color]
    [color=#B1B100]echo[/color] [color=#0000FF]"All Done, you can <a href='www/admin/'>login</a> now"[/color][color=#339933];[/color]
    [color=#009900]}[/color]
    [color=#B1B100]else[/color] [color=#009900]{[/color]
    [color=#B1B100]echo[/color] [color=#0000FF]'Something has gone wrong... Perhaps oxMarket dosent exist?'[/color][color=#339933];[/color]
    [color=#009900]}[/color][b][color=#000000]?>[/color][/b][/font]

credit of btdsoft

==
have fun with my site:
thoi trang


-----------------------
rao vat mien phi
bong da
Choi game vui

IP: --   

new OpenX causes 500 internal server error
Keithleeds
Group: Member
Post Group: Newbie
Posts: 1
Status:
Here's a plaintext version of the above...

<?php
error_reporting(E_ALL);
require_once 'init.php';

function oxMarketChmod($path, $filePerm=0644, $dirPerm=0755) {
    if(!file_exists($path))
        return(FALSE);
     
    if(is_file($path))
        chmod($path, $filePerm);
    elseif(is_dir($path)) {
        $foldersAndFiles = scandir($path);
        $entries = array_slice($foldersAndFiles, 2);
        foreach($entries as $entry) {
            oxMarketChmod($path."/".$entry, $filePerm, $dirPerm);
        }
        chmod($path, $dirPerm);
    }
    return(TRUE);
}

$plugins = oxMarketChmod(MAX_PATH.'/plugins/etc/oxMarket');
$admin = oxMarketChmod(MAX_PATH.'/www/admin/plugins/oxMarket');

if ($admin == $plugins)
    echo "All Done, you can <a href='www/admin/'>login</a> now";
else
    echo 'Something has gone wrong... Perhaps oxMarket dosent exist?';

IP: --   

« Previous    Next »

Threaded Mode | Print  



Jump To :


Users viewing this topic
1 guests, 0 users.


All times are GMT. The time now is October 2, 2014, 6:28 am.

  Powered By AEF 1.0.8 © 2007-2008 Electron Inc.Queries: 11  |  Page Created In:0.724