sbt under wsl2 throws "Operation not permitted" - sbt

Trying to use sbt on Windows11 under WSL2, getting exceptions for most operations. I can start sbt, but for most commands it throws some variation of java.nio.file.FileSystemException Operation not permitted.
Using Windows11 Pro, latest patches, WSL2 with Ubuntu 22.04 LTS, sbt 1.4.7, Java 11.
What is going on and how can I fix this?
For instance, for reload:
reload
[info] welcome to sbt 1.4.7 (Ubuntu Java 11.0.16)
[info] loading settings for project my-project-build from plugins.sbt ...
[info] loading project definition from /full/path/to/my/project/project
[error] stack trace is suppressed; run last dependencyPositions for the full output
[error] (dependencyPositions) java.nio.file.FileSystemException: /full/path/to/my/project/project/target/streams/_global/dependencyPositions/_global/streams/update_cache_2.12/output_dsp: Operation not permitted
last dependencyPositions
[error] java.nio.file.FileSystemException: /full/path/to/my/project/target/streams/_global/dependencyPositions/_global/streams/update_cache_2.12/output_dsp: Operation not permitted
[error] at java.base/sun.nio.fs.UnixException.translateToIOException(UnixException.java:100)
[error] at java.base/sun.nio.fs.UnixException.rethrowAsIOException(UnixException.java:111)
[error] at java.base/sun.nio.fs.UnixException.rethrowAsIOException(UnixException.java:116)
[error] at java.base/sun.nio.fs.UnixFileAttributeViews$Basic.setTimes(UnixFileAttributeViews.java:125)
[error] at java.base/java.nio.file.Files.setLastModifiedTime(Files.java:2355)
[error] at sbt.io.JavaMilli$.$anonfun$setModifiedTime$1(JavaMilli.scala:25)
[error] at scala.runtime.java8.JFunction0$mcV$sp.apply(JFunction0$mcV$sp.java:23)
[error] at sbt.io.JavaMilli$.mapNoSuchFileException(JavaMilli.scala:31)
[error] at sbt.io.JavaMilli$.setModifiedTime(JavaMilli.scala:24)
[error] at sbt.internal.io.Milli$.setModifiedTime(Milli.scala:386)
[error] at sbt.io.IO$.$anonfun$setModifiedTimeOrFalse$1(IO.scala:1433)
[error] at sbt.internal.io.Retry$.apply$mVc$sp(Retry.scala:40)
[error] at sbt.internal.io.Retry$.apply$mVc$sp(Retry.scala:23)
[error] at sbt.io.IO$.setModifiedTimeOrFalse(IO.scala:1433)
[error] at sbt.internal.InMemoryCacheStore$CacheStoreImpl.write(InMemoryCacheStore.scala:77)
[error] at sbt.util.Tracked$.$anonfun$lastOutput$1(Tracked.scala:74)
[error] at sbt.Classpaths$.$anonfun$dependencyPositionsTask$5(Defaults.scala:3550)
[error] at sbt.Classpaths$.$anonfun$dependencyPositionsTask$5$adapted(Defaults.scala:3516)
[error] at sbt.util.Tracked$.$anonfun$inputChangedW$1(Tracked.scala:219)
[error] at sbt.Classpaths$.$anonfun$dependencyPositionsTask$1(Defaults.scala:3552)
[error] at scala.Function1.$anonfun$compose$1(Function1.scala:49)
[error] at sbt.internal.util.$tilde$greater.$anonfun$$u2219$1(TypeFunctions.scala:62)
[error] at sbt.std.Transform$$anon$4.work(Transform.scala:68)
[error] at sbt.Execute.$anonfun$submit$2(Execute.scala:282)
[error] at sbt.internal.util.ErrorHandling$.wideConvert(ErrorHandling.scala:23)
[error] at sbt.Execute.work(Execute.scala:291)
[error] at sbt.Execute.$anonfun$submit$1(Execute.scala:282)
[error] at sbt.ConcurrentRestrictions$$anon$4.$anonfun$submitValid$1(ConcurrentRestrictions.scala:265)
[error] at sbt.CompletionService$$anon$2.call(CompletionService.scala:64)
[error] at java.base/java.util.concurrent.FutureTask.run(FutureTask.java:264)
[error] at java.base/java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:515)
[error] at java.base/java.util.concurrent.FutureTask.run(FutureTask.java:264)
[error] at java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1128)
[error] at java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:628)
[error] at java.base/java.lang.Thread.run(Thread.java:829)
[error] (dependencyPositions) java.nio.file.FileSystemException: /full/path/to/my/project/target/streams/_global/dependencyPositions/_global/streams/update_cache_2.12/output_dsp: Operation not permitted

Related

sbt crashes on attempt to run after installation

In order to solve this issue, I tried to install sbt using the following commands:
echo "deb https://dl.bintray.com/sbt/debian /" | sudo tee -a /etc/apt/sources.list.d/sbt.list
sudo apt-key adv --keyserver hkp://keyserver.ubuntu.com:80 --recv 2EE0EA64E40A89B84B2DF73499E82A75642AC823
sudo apt-get update
sudo apt-get install sbt
When I then type sbt, I get this output:
[warn] No sbt.version set in project/build.properties, base directory: /usr/share
[error] java.lang.IllegalArgumentException: requirement failed: Source file '/usr/share/icons/Humanity/status#2/48/aptdaemon-update-cache.svg' does not exist.
[error] at scala.Predef$.require(Predef.scala:277)
[error] at sbt.io.IO$.copyFile(IO.scala:823)
[error] at sbt.io.IO$.copyImpl(IO.scala:766)
[error] at sbt.io.IO$.$anonfun$copy$1(IO.scala:754)
[error] at scala.Function$.$anonfun$tupled$1(Function.scala:77)
[error] at scala.collection.TraversableLike.$anonfun$map$1(TraversableLike.scala:233)
[error] at scala.collection.mutable.ResizableArray.foreach(ResizableArray.scala:58)
[error] at scala.collection.mutable.ResizableArray.foreach$(ResizableArray.scala:51)
[error] at scala.collection.mutable.ArrayBuffer.foreach(ArrayBuffer.scala:47)
[error] at scala.collection.TraversableLike.map(TraversableLike.scala:233)
[error] at scala.collection.TraversableLike.map$(TraversableLike.scala:226)
[error] at scala.collection.AbstractTraversable.map(Traversable.scala:104)
[error] at sbt.io.IO$.copy(IO.scala:754)
[error] at sbt.io.IO$.copyDirectory(IO.scala:800)
[error] at sbt.io.IO$.copyDirectory(IO.scala:789)
[error] at sbt.io.IO$.copyDirectory(IO.scala:772)
[error] at sbt.Resolvers$.$anonfun$local$3(Resolvers.scala:34)
[error] at sbt.Resolvers$.creates(Resolvers.scala:148)
[error] at sbt.Resolvers$.$anonfun$local$2(Resolvers.scala:34)
[error] at sbt.internal.BuildLoader$.$anonfun$componentLoader$2(BuildLoader.scala:172)
[error] at scala.Option.map(Option.scala:146)
[error] at sbt.internal.BuildLoader$.$anonfun$componentLoader$1(BuildLoader.scala:171)
[error] at sbt.internal.MultiHandler.apply(BuildLoader.scala:28)
[error] at sbt.internal.BuildLoader.apply(BuildLoader.scala:240)
[error] at sbt.internal.Load$.loadURI$1(Load.scala:546)
[error] at sbt.internal.Load$.loadAll(Load.scala:562)
[error] at sbt.internal.Load$.loadURI(Load.scala:492)
[error] at sbt.internal.Load$.load(Load.scala:471)
[error] at sbt.internal.Load$.$anonfun$apply$1(Load.scala:251)
[error] at sbt.internal.Load$.timed(Load.scala:1395)
[error] at sbt.internal.Load$.apply(Load.scala:251)
[error] at sbt.internal.Load$.defaultLoad(Load.scala:69)
[error] at sbt.BuiltinCommands$.liftedTree1$1(Main.scala:829)
[error] at sbt.BuiltinCommands$.doLoadProject(Main.scala:829)
[error] at sbt.BuiltinCommands$.$anonfun$loadProjectImpl$2(Main.scala:800)
[error] at sbt.Command$.$anonfun$applyEffect$4(Command.scala:142)
[error] at sbt.Command$.$anonfun$applyEffect$2(Command.scala:137)
[error] at sbt.Command$.process(Command.scala:181)
[error] at sbt.MainLoop$.processCommand(MainLoop.scala:151)
[error] at sbt.MainLoop$.$anonfun$next$2(MainLoop.scala:139)
[error] at sbt.State$$anon$1.runCmd$1(State.scala:246)
[error] at sbt.State$$anon$1.process(State.scala:250)
[error] at sbt.MainLoop$.$anonfun$next$1(MainLoop.scala:139)
[error] at sbt.internal.util.ErrorHandling$.wideConvert(ErrorHandling.scala:16)
[error] at sbt.MainLoop$.next(MainLoop.scala:139)
[error] at sbt.MainLoop$.run(MainLoop.scala:132)
[error] at sbt.MainLoop$.$anonfun$runWithNewLog$1(MainLoop.scala:110)
[error] at sbt.io.Using.apply(Using.scala:22)
[error] at sbt.MainLoop$.runWithNewLog(MainLoop.scala:104)
[error] at sbt.MainLoop$.runAndClearLast(MainLoop.scala:59)
[error] at sbt.MainLoop$.runLoggedLoop(MainLoop.scala:44)
[error] at sbt.MainLoop$.runLogged(MainLoop.scala:35)
[error] at sbt.StandardMain$.runManaged(Main.scala:138)
[error] at sbt.xMain.run(Main.scala:89)
[error] at xsbt.boot.Launch$$anonfun$run$1.apply(Launch.scala:109)
[error] at xsbt.boot.Launch$.withContextLoader(Launch.scala:128)
[error] at xsbt.boot.Launch$.run(Launch.scala:109)
[error] at xsbt.boot.Launch$$anonfun$apply$1.apply(Launch.scala:35)
[error] at xsbt.boot.Launch$.launch(Launch.scala:117)
[error] at xsbt.boot.Launch$.apply(Launch.scala:18)
[error] at xsbt.boot.Boot$.runImpl(Boot.scala:56)
[error] at xsbt.boot.Boot$.main(Boot.scala:18)
[error] at xsbt.boot.Boot.main(Boot.scala)
[error] java.lang.IllegalArgumentException: requirement failed: Source file '/usr/share/icons/Humanity/status#2/48/aptdaemon-update-cache.svg' does not exist.
[error] Use 'last' for the full log.
Project loading failed: (r)etry, (q)uit, (l)ast, or (i)gnore? i
[warn] Ignoring load failure: no project loaded.
[error] java.lang.RuntimeException: Session not initialized.
[error] at scala.sys.package$.error(package.scala:26)
[error] at sbt.Project$.$anonfun$getOrError$1(Project.scala:442)
[error] at scala.Option.getOrElse(Option.scala:121)
[error] at sbt.Project$.getOrError(Project.scala:442)
[error] at sbt.Project$.session(Project.scala:448)
[error] at sbt.Project$.extract(Project.scala:453)
[error] at sbt.BuiltinCommands$.notifyUsersAboutShell(Main.scala:928)
[error] at sbt.BuiltinCommands$.$anonfun$notifyUsersAboutShell$3(Main.scala:937)
[error] at sbt.Command$.$anonfun$command$2(Command.scala:91)
[error] at sbt.Command$.process(Command.scala:181)
[error] at sbt.MainLoop$.processCommand(MainLoop.scala:151)
[error] at sbt.MainLoop$.$anonfun$next$2(MainLoop.scala:139)
[error] at sbt.State$$anon$1.runCmd$1(State.scala:246)
[error] at sbt.State$$anon$1.process(State.scala:250)
[error] at sbt.MainLoop$.$anonfun$next$1(MainLoop.scala:139)
[error] at sbt.internal.util.ErrorHandling$.wideConvert(ErrorHandling.scala:16)
[error] at sbt.MainLoop$.next(MainLoop.scala:139)
[error] at sbt.MainLoop$.run(MainLoop.scala:132)
[error] at sbt.MainLoop$.$anonfun$runWithNewLog$1(MainLoop.scala:110)
[error] at sbt.io.Using.apply(Using.scala:22)
[error] at sbt.MainLoop$.runWithNewLog(MainLoop.scala:104)
[error] at sbt.MainLoop$.runAndClearLast(MainLoop.scala:59)
[error] at sbt.MainLoop$.runLoggedLoop(MainLoop.scala:44)
[error] at sbt.MainLoop$.runLogged(MainLoop.scala:35)
[error] at sbt.StandardMain$.runManaged(Main.scala:138)
[error] at sbt.xMain.run(Main.scala:89)
[error] at xsbt.boot.Launch$$anonfun$run$1.apply(Launch.scala:109)
[error] at xsbt.boot.Launch$.withContextLoader(Launch.scala:128)
[error] at xsbt.boot.Launch$.run(Launch.scala:109)
[error] at xsbt.boot.Launch$$anonfun$apply$1.apply(Launch.scala:35)
[error] at xsbt.boot.Launch$.launch(Launch.scala:117)
[error] at xsbt.boot.Launch$.apply(Launch.scala:18)
[error] at xsbt.boot.Boot$.runImpl(Boot.scala:56)
[error] at xsbt.boot.Boot$.main(Boot.scala:18)
[error] at xsbt.boot.Boot.main(Boot.scala)
[error] Session not initialized.
[error] Use 'last' for the full log.
What is the problem here? I'm on Ubuntu 18.04.2.
[warn] No sbt.version set in project/build.properties, base directory: /usr/share
Did you try to run sbt in /usr/share?
If so please try running it in a working directory where you have write rights. For a quick start see sbt by example.

Running `publishLocalAllModule` on SBT source says `crossScalaVersions is undefined` for `zinc`

After downloading the SBT source and running the SBT shell:
$ mkdir sbt-modules
$ cd sbt-modules
$ for i in sbt io util librarymanagement zinc; do \
git clone https://github.com/sbt/$i.git && (cd $i; git checkout -b develop origin/develop)
done
$ cd sbt
$ ./sbt-allsources.sh
When I publish, I get the following error:
sbt:sbtRoot> publishLocalAllModule
[error] java.lang.RuntimeException: ProjectRef(uri("file:/Users/nhooey/git/github/sbt/zinc/"), "compilerBridge") / ./ ./ crossScalaVersions is undefined.
[error] at scala.sys.package$.error(package.scala:27)
[error] at sbt.Extracted.$anonfun$getOrError$1(Extracted.scala:119)
[error] at scala.Option.getOrElse(Option.scala:121)
[error] at sbt.Extracted.getOrError(Extracted.scala:119)
[error] at sbt.Extracted.getOrError(Extracted.scala:124)
[error] at sbt.Extracted.get(Extracted.scala:34)
[error] at $127b0bc6e7d0db0357c4$.$anonfun$customCommands$18(build.sbt:803)
[error] at scala.Option.map(Option.scala:146)
[error] at $127b0bc6e7d0db0357c4$.$anonfun$customCommands$10(build.sbt:801)
[error] at sbt.Command$.$anonfun$command$2(Command.scala:91)
[error] at sbt.Command$.process(Command.scala:181)
[error] at sbt.MainLoop$.processCommand(MainLoop.scala:151)
[error] at sbt.MainLoop$.$anonfun$next$2(MainLoop.scala:139)
[error] at sbt.State$$anon$1.runCmd$1(State.scala:246)
[error] at sbt.State$$anon$1.process(State.scala:250)
[error] at sbt.MainLoop$.$anonfun$next$1(MainLoop.scala:139)
[error] at sbt.internal.util.ErrorHandling$.wideConvert(ErrorHandling.scala:16)
[error] at sbt.MainLoop$.next(MainLoop.scala:139)
[error] at sbt.MainLoop$.run(MainLoop.scala:132)
[error] at sbt.MainLoop$.$anonfun$runWithNewLog$1(MainLoop.scala:110)
[error] at sbt.io.Using.apply(Using.scala:22)
[error] at sbt.MainLoop$.runWithNewLog(MainLoop.scala:104)
[error] at sbt.MainLoop$.runAndClearLast(MainLoop.scala:59)
[error] at sbt.MainLoop$.runLoggedLoop(MainLoop.scala:44)
[error] at sbt.MainLoop$.runLogged(MainLoop.scala:35)
[error] at sbt.StandardMain$.runManaged(Main.scala:138)
[error] at sbt.xMain.run(Main.scala:89)
[error] at xsbt.boot.Launch$$anonfun$run$1.apply(Launch.scala:109)
[error] at xsbt.boot.Launch$.withContextLoader(Launch.scala:128)
[error] at xsbt.boot.Launch$.run(Launch.scala:109)
[error] at xsbt.boot.Launch$$anonfun$apply$1.apply(Launch.scala:35)
[error] at xsbt.boot.Launch$.launch(Launch.scala:117)
[error] at xsbt.boot.Launch$.apply(Launch.scala:18)
[error] at xsbt.boot.Boot$.runImpl(Boot.scala:56)
[error] at xsbt.boot.Boot$.main(Boot.scala:18)
[error] at xsbt.boot.Boot.main(Boot.scala)
[error] ProjectRef(uri("file:/Users/nhooey/git/github/sbt/zinc/"), "compilerBridge") / ./ ./ crossScalaVersions is undefined.
[error] Use 'last' for the full log.
This is after:
Deleting my ~/.sbt directory recursively
Running git clean -dfx to delete all untracked and ignored files in each SBT repository
This is the head of the branch for the sbt/sbt project that was checked out when I ran the for loop above, which I did just now:
* commit 550c068b9829f8b691f046e87cd1023d87735973 (HEAD -> develop, origin/develop, origin/HEAD)
|\ Merge: a8e319e97 b47ca1b9e
| | Author: eugene yokota <eed3si9n#gmail.com>
| | Date: Wed Sep 19 23:19:16 2018 -0400
| |
| | Merge pull request #4369 from eed3si9n/wip/task-sequential
| |
| | Implement sequential[B](tasks: Seq[Initialize[Task[B]]])

SBT fails to download Spark Streaming Kinesis library

I have the following on my build.sbt on a multi-project layout. All other dependencies resolve nicely and I just started on the Kinesis part of my project.
I have the following line in my build.sbt:
libraryDependencies += "org.apache.spark" % "spark-streaming-kinesis-asl-assembly_2.10" % "2.0.0"
and I get this error:
Error:Error while importing SBT project:
...
[error]
[error] spark-streaming-kinesis-asl: unable to get resource for org/codehaus/janino#janino;2.7.8: res=org.apache.spark/org/codehaus/janino/janino/2.7.8/janino-2.7.8.pom: java.net.MalformedURLException: no protocol: org.apache.spark/org/codehaus/janino/janino/2.7.8/janino-2.7.8.pom
[error] several problems occurred while resolving dependency: org.codehaus.janino#janino-parent;2.7.8 {}:
[error] spark-streaming-kinesis-asl: unable to get resource for org/codehaus/janino#janino-parent;2.7.8: res=org.apache.spark/org/codehaus/janino/janino-parent/2.7.8/janino-parent-2.7.8.jar: java.net.MalformedURLException: no protocol: org.apache.spark/org/codehaus/janino/janino-parent/2.7.8/janino-parent-2.7.8.jar
[error] spark-streaming-kinesis-asl: unable to get resource for org/codehaus/janino#janino-parent;2.7.8: res=org.apache.spark/org/codehaus/janino/janino-parent/2.7.8/janino-parent-2.7.8.pom: java.net.MalformedURLException: no protocol: org.apache.spark/org/codehaus/janino/janino-parent/2.7.8/janino-parent-2.7.8.pom
[error] spark-streaming-kinesis-asl: unable to get resource for org/codehaus/janino#janino-parent;2.7.8: res=org.apache.spark/org/codehaus/janino/janino-parent/2.7.8/janino-parent-2.7.8.jar: java.net.MalformedURLException: no protocol: org.apache.spark/org/codehaus/janino/janino-parent/2.7.8/janino-parent-2.7.8.jar
[error]
[error]
[error] unresolved dependency: com.google.http-client#google-http-client;1.19.0: several problems occurred while resolving dependency: com.google.http-client#google-http-client;1.19.0 {compile=[compile(*), master(*)], runtime=[runtime(*)]}:
[error] several problems occurred while resolving dependency: com.google.http-client#google-http-client-parent;1.19.0 {}:
[error] spark-streaming-kinesis-asl: unable to get resource for com/google/http-client#google-http-client-parent;1.19.0: res=org.apache.spark/com/google/http-client/google-http-client-parent/1.19.0/google-http-client-parent-1.19.0.jar: java.net.MalformedURLException: no protocol: org.apache.spark/com/google/http-client/google-http-client-parent/1.19.0/google-http-client-parent-1.19.0.jar
[error] spark-streaming-kinesis-asl: unable to get resource for com/google/http-client#google-http-client-parent;1.19.0: res=org.apache.spark/com/google/http-client/google-http-client-parent/1.19.0/google-http-client-parent-1.19.0.pom: java.net.MalformedURLException: no protocol: org.apache.spark/com/google/http-client/google-http-client-parent/1.19.0/google-http-client-parent-1.19.0.pom
[error] spark-streaming-kinesis-asl: unable to get resource for com/google/http-client#google-http-client-parent;1.19.0: res=org.apache.spark/com/google/http-client/google-http-client-parent/1.19.0/google-http-client-parent-1.19.0.jar: java.net.MalformedURLException: no protocol: org.apache.spark/com/google/http-client/google-http-client-parent/1.19.0/google-http-client-parent-1.19.0.jar
[error]
[error] spark-streaming-kinesis-asl: unable to get resource for com/google/http-client#google-http-client;1.19.0: res=org.apache.spark/com/google/http-client/google-http-client/1.19.0/google-http-client-1.19.0.pom: java.net.MalformedURLException: no protocol: org.apache.spark/com/google/http-client/google-http-client/1.19.0/google-http-client-1.19.0.pom
[error] several problems occurred while resolving dependency: com.google.http-client#google-http-client-parent;1.19.0 {}:
[error] spark-streaming-kinesis-asl: unable to get resource for com/google/http-client#google-http-client-parent;1.19.0: res=org.apache.spark/com/google/http-client/google-http-client-parent/1.19.0/google-http-client-parent-1.19.0.jar: java.net.MalformedURLException: no protocol: org.apache.spark/com/google/http-client/google-http-client-parent/1.19.0/google-http-client-parent-1.19.0.jar
[error] spark-streaming-kinesis-asl: unable to get resource for com/google/http-client#google-http-client-parent;1.19.0: res=org.apache.spark/com/google/http-client/google-http-client-parent/1.19.0/google-http-client-parent-1.19.0.pom: java.net.MalformedURLException: no protocol: org.apache.spark/com/google/http-client/google-http-client-parent/1.19.0/google-http-client-parent-1.19.0.pom
[error] spark-streaming-kinesis-asl: unable to get resource for com/google/http-client#google-http-client-parent;1.19.0: res=org.apache.spark/com/google/http-client/google-http-client-parent/1.19.0/google-http-client-parent-1.19.0.jar: java.net.MalformedURLException: no protocol: org.apache.spark/com/google/http-client/google-http-client-parent/1.19.0/google-http-client-parent-1.19.0.jar
[error] Total time: 322 s, completed Dec 6, 2016 3:43:33 PM</pre><br/>See complete log in /Users/p2345716/Library/Logs/IntelliJIdea2016.3/sbt.last.log
I got it working by fixing the dependency artifactID:
libraryDependencies += "org.apache.spark" % "spark-streaming-kinesis-asl-assembly" % "2.0.0"

Why I can't install this old WordPRess website on my local webserver?

I am pretty new to WP (I came from Joomla) and I am finding some difficulties trying to put on my local web server an old backup of a website (made using WP 3.5)
I have performed the following operation:
1) I have put the website backup into a directory named blog into my Apache www directory on my Ubuntu local system.
2) Then I have put the database backup on my MySql local server
3) Finally I have change the values in the wp-config.php file to use my local DB
The problem is that when I try to open the URL to see the website I see noting (a white screen)
Into the Apache log file (/var/log/apache2/error.log) I found the following errors messages:
[Fri Jan 10 22:04:50 2014] [notice] Apache/2.2.22 (Ubuntu) PHP/5.3.10-1ubuntu3.9 with Suhosin-Patch configured -- resuming normal operations
[Fri Jan 10 22:05:08 2014] [error] [client 127.0.0.1] PHP Warning: require_once(/var/www/blog/wp-load.php): failed to open stream: No such file or directory in /var/www/blog/wp-blog-header.php on line 12
[Fri Jan 10 22:05:08 2014] [error] [client 127.0.0.1] PHP Fatal error: require_once(): Failed opening required '/var/www/blog/wp-load.php' (include_path='.:/usr/share/php:/usr/share/pear') in /var/www/blog/wp-blog-header.php on line 12
[Fri Jan 10 22:38:37 2014] [error] [client 127.0.0.1] PHP Warning: require_once(/var/www/blog/wp-load.php): failed to open stream: No such file or directory in /var/www/blog/wp-blog-header.php on line 12
[Fri Jan 10 22:38:37 2014] [error] [client 127.0.0.1] PHP Fatal error: require_once(): Failed opening required '/var/www/blog/wp-load.php' (include_path='.:/usr/share/php:/usr/share/pear') in /var/www/blog/wp-blog-header.php on line 12
[Fri Jan 10 22:38:38 2014] [error] [client 127.0.0.1] PHP Warning: require_once(/var/www/blog/wp-load.php): failed to open stream: No such file or directory in /var/www/blog/wp-blog-header.php on line 12
[Fri Jan 10 22:38:38 2014] [error] [client 127.0.0.1] PHP Fatal error: require_once(): Failed opening required '/var/www/blog/wp-load.php' (include_path='.:/usr/share/php:/usr/share/pear') in /var/www/blog/wp-blog-header.php on line 12
[Fri Jan 10 22:38:39 2014] [error] [client 127.0.0.1] PHP Warning: require_once(/var/www/blog/wp-load.php): failed to open stream: No such file or directory in /var/www/blog/wp-blog-header.php on line 12
[Fri Jan 10 22:38:39 2014] [error] [client 127.0.0.1] PHP Fatal error: require_once(): Failed opening required '/var/www/blog/wp-load.php' (include_path='.:/usr/share/php:/usr/share/pear') in /var/www/blog/wp-blog-header.php on line 12
[Fri Jan 10 22:38:40 2014] [error] [client 127.0.0.1] PHP Warning: require_once(/var/www/blog/wp-load.php): failed to open stream: No such file or directory in /var/www/blog/wp-blog-header.php on line 12
[Fri Jan 10 22:38:40 2014] [error] [client 127.0.0.1] PHP Fatal error: require_once(): Failed opening required '/var/www/blog/wp-load.php' (include_path='.:/usr/share/php:/usr/share/pear') in /var/www/blog/wp-blog-header.php on line 12
Why? what could be the problem? How can I try to solve it?
Tnx
Andrea
Make sure within the database the url structures has been same. It looks like some file is missing or the path structure is not proper.

Issues with symfony2.1 relating to installing DoctrineFixturesBundle via composer

I'm learning symfony by following this tutorial on making a blog: http://tutorial.symblog.co.uk/docs/doctrine-2-the-blog-model.html
Things have gone swimmingly until I got to the part about installing DoctrineFixturesBundle. The tutorial is for symf 2.0, and 2.1 installs it differently. I followed the instructions here: http://symfony.com/doc/master/bundles/DoctrineFixturesBundle/index.html using composer.
This removed a LOT of vendors, including twig, and now symfony gives me the white screen of death.
Also, my composer.phar file is VERY different, and looks almost corrupted. Near the top it has this: __HALT_COMPILER(); ?>^M
The entire file is 35627 lines long, which seems very wrong.
I'm not even sure where to begin looking to fix this. I'm using version control, so I have an old version of my composer.phar file, do I simply want to get that back and start again?
Here's what my error log spits out:
[Sat Nov 17 16:17:56 2012] [error] [client 127.0.0.1] PHP Warning: require_once(/srv/http/symblog.dev/app/../vendor/symfony/symfony/src/Symfony/Component/Locale/Resources/stubs/functions.php): failed to open stream: No such file or directory in /srv/http/symblog.dev/app/autoload.php on line 9
[Sat Nov 17 16:17:56 2012] [error] [client 127.0.0.1] PHP Stack trace:
[Sat Nov 17 16:17:56 2012] [error] [client 127.0.0.1] PHP 1. {main}() /srv/http/symblog.dev/web/app.php:0
[Sat Nov 17 16:17:56 2012] [error] [client 127.0.0.1] PHP 2. require_once() /srv/http/symblog.dev/web/app.php:6
[Sat Nov 17 16:17:56 2012] [error] [client 127.0.0.1] PHP 3. require_once() /srv/http/symblog.dev/app/bootstrap.php.cache:3
[Sat Nov 17 16:17:56 2012] [error] [client 127.0.0.1] PHP Fatal error: require_once(): Failed opening required '/srv/http/symblog.dev/app/../vendor/symfony/symfony/src/Symfony/Component/Locale/Resources/stubs/functions.php' (include_path='.:/usr/share/pear') in /srv/http/symblog.dev/app/autoload.php on line 9
[Sat Nov 17 16:17:56 2012] [error] [client 127.0.0.1] PHP Stack trace:
[Sat Nov 17 16:17:56 2012] [error] [client 127.0.0.1] PHP 1. {main}() /srv/http/symblog.dev/web/app.php:0
[Sat Nov 17 16:17:56 2012] [error] [client 127.0.0.1] PHP 2. require_once() /srv/http/symblog.dev/web/app.php:6
[Sat Nov 17 16:17:56 2012] [error] [client 127.0.0.1] PHP 3. require_once() /srv/http/symblog.dev/app/bootstrap.php.cache:3
What does your composer.json file look like? I would redownload composer, check the composer.json file and do a
php composer.phar update symfony/symfony

Resources