Open ghost opened 11 years ago
Hi I started with Zikula Core 1.2.9 build 23. I see in http://ci.zikula.org/job/Zikula-1.2.9/ that were later build made, build 27 is the latest on the continuous integration server. The changes in those later builds I also got into this github repo.
I would have to do a full comparison of the build 23 with all the changes in this repo with the build 27 on the ci.zk server, but they should be the same.
The first imported build https://github.com/espaan/zikula12x/tree/ee67c059f0c0263838afd97dfbad1ab92967f3f2 does NOT contain the undefinedajax file. And also later commits of course do not contain that file in the root.
I would have to chech a clean install of the latest code to see what it exactly does. There should not be calls to undefinedajax.
I just tested with a clean install of hte current master branch of this repo and creating a new user works fine (on a local test install sending email is the only error I get). I get no calls to undefinedajax.php. Did you try via the admin interface zk1210/index.php?module=users&type=admin&func=new or in an other place ?
I now tried via hte regular user part and on "check entries" I also get a
<?xml version="1.0" encoding="ISO-8859-1"?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN"
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" lang="en" xml:lang="en">
<head>
<title>Object not found!</title>
<link rev="made" href="mailto:postmaster@localhost" />
<style type="text/css"><!--/*--><![CDATA[/*><!--*/
body { color: #000000; background-color: #FFFFFF; }
a:link { color: #0000CC; }
p, address {margin-left: 3em;}
span {font-size: smaller;}
/*]]>*/--></style>
</head>
<body>
<h1>Object not found!</h1>
<p>
The requested URL was not found on this server.
The link on the
<a href="http://localhost/zk1210/index.php%3fmodule=users&func=register">referring
page</a> seems to be wrong or outdated. Please inform the author of
<a href="http://localhost/zk1210/index.php%3fmodule=users&func=register">that page</a>
about the error.
</p>
<p>
If you think this is a server error, please contact
the <a href="mailto:postmaster@localhost">webmaster</a>.
</p>
<h2>Error 404</h2>
<address>
<a href="/">localhost</a><br />
<span>10/10/2013 9:32:36 AM<br />
Apache/2.2.17 (Win32) mod_ssl/2.2.17 OpenSSL/0.9.8o PHP/5.3.4 mod_perl/2.0.4 Perl/v5.10.1</span>
</address>
</body>
</html>
I see in access.log 127.0.0.1 - - [10/Oct/2013:09:32:36 +0200] "POST /zk1210/undefinedajax.php HTTP/1.1" 404 1348 "http://localhost/zk1210/index.php?module=users&func=register" "Mozilla/5.0 (Windows NT 6.1; WOW64; rv:24.0) Gecko/20100101 Firefox/24.0"
so stil a call to undefinedajax in being done indeed via the users module ..... mmmhhh
BTW this was in FF24 on win7
The Zikula.Config.baseurl in users.js is not being recognized and gives a undefined as value, and then the "undefined" + "ajax.php" is being called, which does not exist. So there is something missing in the JS calls. https://github.com/espaan/zikula12x/blob/master/system/Users/pnjavascript/users.js#L23
I see now that it uses Zikula.Config.baseURL and should be Zikula.Config.pnbaseURL..
I took all changed 14 files from the unofficial 1.2.10 master zip file, the complete install folder and transfered them to the root of my website. None of the 14 files over wrote any modified files. I ran the upgrade.php file. I cleared out my pntemp folder, and both browser's cache. I then fill out the new user application, hit the button to check my entries, and I get the error below.
Not Found The requested URL /WinSnort/undefinedajax.php was not found on this server.
This happens with IE10 and FF24, not sure about Chrome.
I have deleted the undefinedahjax.php from the root of my website, as it was moved there as the hack for the Chrome problem. Was this correct to do, because it is not in the root of the unofficial 1.2.10 master zip file.
What build version of Zikula (link please) did you use to build the unofficial 1.2.10 master zip?