Not sure where to post this but it seems related to localhost wamp installation.
I have a couple of problems that I suspect are related to one another.
I recently reinstalled a new version of wamp. I completely uninstalled the previous version, removed all the wamp folders then installed the new version. Myphpadmin reports the following.
* Server: localhost (localhost via TCP/IP)
* Server version: 5.1.30-community-log
* Protocol version: 10
* User: root@localhost
* MySQL charset: UTF-8 Unicode (utf8)
* Apache/2.2.11 (Win32) PHP/5.2.8
* MySQL client version: 5.0.51a
* PHP extension: mysqli
Your PHP MySQL library version 5.0.51a differs from your MySQL server version 5.1.30. This may cause unpredictable behavior.
I then installed MODx in C:/wamp/www/twp/
File manager path: C:/wamp/www/twp/
Resource path: assets/
Resource URL: assets/
Friendly URLs enabled (and working)
MODx Ver 9.6.3
Imported the SQL DB from my backup
Copied the assets folder from the backup
Copied the .htaccess file from backup - RewriteBase /twp/
Enabled apache rewrite
All is good. Friendly URLs are working.
However I can’t see files in the images folder thru TinyMCE. If I try to upload a file I get a message that says Error, "Failed to upload file, internal error..." If I try to create a folder I get "You have no permissions to create the folder". I also noticed the top of the dialogue box says: Alert http://localhost/
I cannot export to html. Yesterday I successfully completed an export. Today, I get two warnings and error:
Warning: Call-time pass-by-reference has been deprecated in C:\wamp\www\twp\manager\actions\export_site.static.php on line 227
Warning: Call-time pass-by-reference has been deprecated in C:\wamp\www\twp\manager\actions\export_site.static.php on line 246
Target directory isn't writable. Please ensure the directory is writable, and try again.
Before I realized this problem was occuring, I later installed another instance of MODx in the root directory. I’m having the same problem with that site, except the export to html is working fine.