首页 \ 问答 \ 未找到Laravel 5.1分页URL错误404(Laravel 5.1 Pagination URL Error 404 Not Found)

未找到Laravel 5.1分页URL错误404(Laravel 5.1 Pagination URL Error 404 Not Found)

我在WAMP Server 2.5上使用Laravel 5.1。

在处理分页时我遇到了这个错误。

404未找到

当我使用这个php artisan服务在本地运行我的网站时

php artisan serve --port = 212

我跑到我的网站索引url http:// localhost:212 /显示 。 分页工作正常,它的分页链接在每个页面都正常工作http:// localhost:212 / displays?page = 2

但是当我在没有php artisan servehttp:// localhost / bookstore / public / displays )的情况下手动运行它时,分页链接出错了。 分页链接最初打印输出http:// localhost / bookstore / public / displays /?page = 2 ,但当页面完全呈现时,它会自动更改为http:// localhost / displays?page = 2

有没有人像我一样有问题? 很高兴你们中的任何人可以提供帮助。


I am using Laravel 5.1 on WAMP Server 2.5.

And I have this error while working on pagination.

404 Not Found

While I run my site locally using this php artisan serve

php artisan serve --port=212

I run to my site index url http://localhost:212/displays. The pagination works fine, its pagination link work fine on every page http://localhost:212/displays?page=2.

But when I run it manualy without php artisan serve (http://localhost/bookstore/public/displays), the pagination link goes wrong. The pagination link originally printout http://localhost/bookstore/public/displays/?page=2, but it automatically change into http://localhost/displays?page=2 when the page fully rendered.

Is anyone have same problem like me? Glad if any of you could help.


原文:https://stackoverflow.com/questions/32251118
更新时间:2023-01-16 09:01

最满意答案

支持WPF和Silverlight上的图表的相同数据可视化项目支持Windows Phone 7.从Delay的博客下载软件包和数据可视化演示:


The same Data Visualization project that supports charting on WPF and Silverlight supports Windows Phone 7. Download the package and the data visualization demos from Delay's Blog:

相关问答

更多
  • 它必须成为“芒果”的目标,如果你想在两个市场上展示,你必须将东西反向移植到7.0项目中。 It has to be targeted for "Mango", if you want it showing on both markets you'll have to backport stuff into a 7.0 project.
  • 您需要知道的一切就在Microsoft App Hub 。 点击“ 下载免费工具,立即开始 ”。 一个重要的事情要知道,你必须在App Hub注册需要一些时间(他们将检查你的ID),并花费一些钱(我上次检查99美元)。 您需要在设备上进行调试并发布到市场。 对于您作为Android开发人员,Android开发人员的Windows Phone Guide将会很有帮助。 频道9的跳跃开始阶段也很好,以及他们的初学者培训课程 。 除此之外,现在网络上有大量信息,MS文档和教程非常好。 继续使用Google,你会找 ...
  • 定期任务每30分钟运行一次; 你无法控制它们何时运行。 您应该将ScheduledActionService与Alarm或Reminder 。 Periodic tasks run every 30 minutes; you cannot control when they run. You should use the ScheduledActionService with the Alarm or Reminder.
  • 支持WPF和Silverlight上的图表的相同数据可视化项目支持Windows Phone 7.从Delay的博客下载软件包和数据可视化演示: Phone-y图表[Silverlight / WPF数据可视化开发版本4和Windows Phone 7图表示例!] The same Data Visualization project that supports charting on WPF and Silverlight supports Windows Phone 7. Download the pa ...
  • Mango确实是Windows Phone 7.5更新的代号。 Windows Phone 7.5中有许多新的API和功能,它带来了一个新的SDK(版本7.1)。 针对Windows Phone 7.0 SDK的应用在7.1下工作正常,但针对Windows Phone 7.1 SDK的应用需要运行Mango更新。 Windows Phone站点列出了Windows Phone 7.5(Mango更新)中的新功能, MSDN列出了7.0 SDK和7.1 SDK之间的API更改。 Mango was indee ...
  • 是的,您可以使用Compass类。 您可以获取示例代码,说明如何在原始传感器数据示例或“如何”中读取指南针。 Yes, you can use the Compass class. You can get sample code showing how to read the compass in the Raw Sensor Data Sample or this 'How To'.
  • 一旦我开始玩Expression Blend 4,这就变得非常简单了! 这段代码非常适合移动:
  • 管理应用程序 - 这可以通过CoreCon API完成( 请参阅此问题 )。 列出应用程序时,只有应用程序ID可用,因此您需要通过解析从市场Feed中加载数据来获取标题。 重置数据 - 您可以使用CoreCon API或Isolated Storage Explorer命令行工具 。 远程锁定 - 此处没有任何内容 Managing Apps - This can be done via the CoreCon API (see this question). When listing applicatio ...
  • 在Microsoft示例中,Tidy应用程序(Mango示例的一部分) - 在Todo.DataAccess项目中, GeoCodeDistanceCalc静态类,用于计算一对坐标之间的距离: return radius * 2 * Math.Asin(Math.Min(1, Math.Sqrt((Math.Pow(Math.Sin((DiffRadian(lat1, lat2)) / 2.0), 2.0) + Math.Cos(ToRadian(lat1)) * Math.Cos(ToRadian(lat ...
  • 在Visual Studio中,打开现有解决方案。 在解决方案资源管理器中,右键单击Windows Phone项目,然后单击升级到Windows Phone 7.1 。 In Visual Studio, open the existing solution. In Solution Explorer, right-click the Windows Phone project(s), and then click Upgrade to Windows Phone 7.1.

相关文章

更多

最新问答

更多
  • 您如何使用git diff文件,并将其应用于同一存储库的副本的本地分支?(How do you take a git diff file, and apply it to a local branch that is a copy of the same repository?)
  • 将长浮点值剪切为2个小数点并复制到字符数组(Cut Long Float Value to 2 decimal points and copy to Character Array)
  • OctoberCMS侧边栏不呈现(OctoberCMS Sidebar not rendering)
  • 页面加载后对象是否有资格进行垃圾回收?(Are objects eligible for garbage collection after the page loads?)
  • codeigniter中的语言不能按预期工作(language in codeigniter doesn' t work as expected)
  • 在计算机拍照在哪里进入
  • 使用cin.get()从c ++中的输入流中丢弃不需要的字符(Using cin.get() to discard unwanted characters from the input stream in c++)
  • No for循环将在for循环中运行。(No for loop will run inside for loop. Testing for primes)
  • 单页应用程序:页面重新加载(Single Page Application: page reload)
  • 在循环中选择具有相似模式的列名称(Selecting Column Name With Similar Pattern in a Loop)
  • System.StackOverflow错误(System.StackOverflow error)
  • KnockoutJS未在嵌套模板上应用beforeRemove和afterAdd(KnockoutJS not applying beforeRemove and afterAdd on nested templates)
  • 散列包括方法和/或嵌套属性(Hash include methods and/or nested attributes)
  • android - 如何避免使用Samsung RFS文件系统延迟/冻结?(android - how to avoid lag/freezes with Samsung RFS filesystem?)
  • TensorFlow:基于索引列表创建新张量(TensorFlow: Create a new tensor based on list of indices)
  • 企业安全培训的各项内容
  • 错误:RPC失败;(error: RPC failed; curl transfer closed with outstanding read data remaining)
  • C#类名中允许哪些字符?(What characters are allowed in C# class name?)
  • NumPy:将int64值存储在np.array中并使用dtype float64并将其转换回整数是否安全?(NumPy: Is it safe to store an int64 value in an np.array with dtype float64 and later convert it back to integer?)
  • 注销后如何隐藏导航portlet?(How to hide navigation portlet after logout?)
  • 将多个行和可变行移动到列(moving multiple and variable rows to columns)
  • 提交表单时忽略基础href,而不使用Javascript(ignore base href when submitting form, without using Javascript)
  • 对setOnInfoWindowClickListener的意图(Intent on setOnInfoWindowClickListener)
  • Angular $资源不会改变方法(Angular $resource doesn't change method)
  • 在Angular 5中不是一个函数(is not a function in Angular 5)
  • 如何配置Composite C1以将.m和桌面作为同一站点提供服务(How to configure Composite C1 to serve .m and desktop as the same site)
  • 不适用:悬停在悬停时:在元素之前[复制](Don't apply :hover when hovering on :before element [duplicate])
  • 常见的python rpc和cli接口(Common python rpc and cli interface)
  • Mysql DB单个字段匹配多个其他字段(Mysql DB single field matching to multiple other fields)
  • 产品页面上的Magento Up出售对齐问题(Magento Up sell alignment issue on the products page)