BlogEngine.Net - "Unable to generate a temporary class" error - blogengine.net

I just uploaded a new instance of blogengine.net to a subdomain on my host and I am getting the following error:
Unable to generate a temporary class
(result=1). error CS2001: Source file
'C:\WINDOWS\TEMP\jn5ced1y.0.cs' could
not be found error CS2008: No inputs
specified
I do have VPS plan on my host, do I need to ask for specific permissions?
On previous installs (older versions) of BE I never had this problem - did I do something wrong?
Thank you.

Sounds like a permissions issue on the TEMP directory. I've had the same issue locally on my development machine and took the naughty EVERYONE/ALL route to resolve.

Related

Error: Bundler does not have write access to create a temp directory

When trying to run bundle install on a ruby project I received the following error:
There was an error while trying to write to `Bundler does not have write access
to create a temp directory within C:/Users/Simon/AppData/Local/Temp. Bundler
must have write access to your systems temp directory to function properly. `.
It is likely that you need to grant write permissions for that path.
I've checked the permissions in my temp folder and everything looks OK. Is there another possible cause of this error?
After much frustration, I discovered that this is actually a misleading error message. The actual error is Errno::EACCES which can be caused by several things: a file permissions error, or by a network connection permissions issue such as a firewall.
I my case, it was my firewall, TinyWall, that was blocking ruby.exe from connecting to the internet and thus causing this error. By giving it access through the firewall, bundle install ran successfully.
Just putting this out there for anyone else that may encounter this frustrating issue one day.

Using NGINX server to deploy a Meteor App from Amazon Linux AMI 2013.09.2 instance receive Module Error

I am attempting to deploy my first web application (a version of Telescope from the MeteorJS framework) via Heroku to a custom subdomain from a Amazon Linux AMI 2013.09.2 instance. I am following along with this tutorial - http://satishgandham.com/2013/12/a-complete-guide-to-install-production-ready-telescope-on-your-own-server/ - but once I attempt to run Telescope using PORT=3000 MONGO_URL=mongodb://localhost:3000/Telescope ROOT_URL=http://ec2-54-193-42-229.us-west-1.compute.amazonaws.com node client/main.js, I receive this error message: Error: Cannot find module '/home/ec2-user/bundle/programs/server/node_modules/fibers/client/main.js'
What I have attempted to do to solve this problem is performed cp || mv on the file main.js which is originally located in the ~/Telescope/client directory over to /home/ec2-user/bundle/programs/server directory and even '/home/ec2-user/bundle/programs/server/node_modules/fibers but I cannot seem to separate main.js from the /client directory. I am not sure if that is the issue or if there is some other underlying problem but I want to find a work around to using a proxy server at this point. I thought that moving the main.js file out of the /client directory was sufficient but apparently not. I am not sure it is imperative for my purposes to continue attempting to use a proxy but if there is a fix, I would not mind learning about it.
Or if any one could direct me on how this - https://github.com/aldeed/deploymeteor/ - could be a potential work-around to using an NGINX server proxy your help would be much appreciated.
You are getting the error because you are not running the command from your home folder.
You were at bundle/programs/server/node_modules/fibers.
Either use absolute path for client/main.js, or cd to ~
MONGO_URL=mongodb://localhost:3000/Telescope ROOT_URL=http://ec2-54-193-42-229.us-west-1.compute.amazonaws.com node client/main.js
PS: It will be helpful for others if you asked the question on the post itself, instead of here

Joomla set Temporary PHP directory

I installed Joomla 3.1.1 Stable on a Centos system.
I can access it, browse through it's admin backend and frontend, but I found in the Extension Manager/Warnings that "The PHP temporary directory is not set"
I went on google and found a fix: I created a php.ini file where I completed this line:
upload_tmp_dir = var/www/html/joomla/tmp
I did that because that is the location where I installed joomla (var/www/html/joomla/)
The fix I found online gave some other location for this folder, it was something with the home/accountname/public_html/... , but I do not have joomla installed in any accounts, it is installed in the "public": var/www/html folder.
I am asking what am I doing wrong because even after doing this, the warning stays the same:
"The PHP temporary directory is not set"
How can I fix this?
I set up the permissions for the entire joomla folder to 40777, and then to the inner folders and files so I would avoid a permission conflict. I then disabled the FTP from Global Settings (before doing this I was receiving a lot more errors when trying to upload anything)
I seriously thought that installing joomla on Centos would not give me so many headaches.
I need to install an extension in joomla (for a template) and I have an error that says nothing to me:"-1 - An error has occurred." - "Copy file failed" so I try to fix any warnings/errors that may cause this before giving up.
The fixes found online about this error (Copy file failed) refer to joomla 1.5 - 1.6. How is it possible that I still get it in version 3.1 ? It is rather absurd.
Any help would be appreciated.
Try to set it via .htaccess file, just add this:
php_value upload_tmp_dir /var/www/html/joomla/tmp
It started working after I changed permissions to ALL subfolders located in var/www/html/joomla
I will reset those permissions after I finish with configuring and customizing the website.
But for now, that was my solution.
-di3sel - the upload_tmp_dir was set up correctly in the php.ini
Thank you both, but my problem seems to be solved now.

Joomla administrator login error

I have a Joomla 3.1 installation on a ubuntu server and it was working fine.
Today, I have downloaded a template and placed the zip file on templates folder, unziped by ubuntu terminal and that's all. Since then, when I try to login on Administrator side, it gives this error:
An error has occurred.
0 SQL=SHOW FULL COLUMNS FROM `<prefix>_users`
I have deleted the zip files considering it was the only change I've made, but nothing happens. I noticed that if I login incorrectly, it gives another error:
An error has occurred.
0 Cannot open file for writing log
Like it has some problem to write the log file, but hours ago it could. Anyway, knowing this, I changed all folders/files permissions to 777.
Thanks in advance.

Joomla Extension Manager issue - Getting an HTTP 500 Server error

I am using Joomla on my website. Now when i try to access the Extension Manager under Extensions, it gives me the following server error
The website encountered an error while retrieving
http://myURL/upload/administrator/index.php?option=com_installer.
It may be down for maintenance or configured incorrectly.
How do i fix it?
Thanks
You should definitely find more information in the error log, but a few things to look at are:
permissions: com_installer may need the tmp folder to be writable
configuration: is your tmp folder configured properly (you can check in system information)
corruption: try reinstalling the update package of Joomla over your current installation (the update package) with ftp/shell
improper routing configuration: you may have some wrong configuration either in your httpd.conf or .htaccess file (try renaming them quickly to see if this is the issue; look for an .htaccess in the administrator folder, and each parent up to the web root (so ./uploads/administrator, ./uploads, . )
I repeat, reading the error log (apache error_log or php error, or turn on debug in Joomla) should give you more than enough information to pinpoint the issue.
I had the same issue when I had forgotten to rename htaccess.txt to .htaccess

Resources