- b2evolution CMS Support Forums
- About these Forums
- Errors in v-5.0.5, upgraded to v-5.0.6 errors continue, previously same errors in v-4.1.5
1 cihuamexica Oct 04, 2013 06:57
Hi,
FYI and possibly help if I explained myself coherently.
I recently upgraded to b2evo v-5.0.5 from v-4.1.5 / v-4.1.6 hoping these errors would disappear, I looked in the Forums to see if there was a solution but couldn't find one and my technological knowledge base is not up to par to fully identify and deal with these issues.
The upgrade to v-5.0.5 didn't resolve the issue & together with other 'issues' on mi site (Long story), I decided to start anew altogether. I deleted everything, including the db & did a fresh intallation.
The errors continued in a 'vanilla' installation and,
since there was an upgrade to v-5.0.6 (Sept. 25, 2013) Available, I upgraded to that earlier today; the errors persist. So, there you have it.
Any suggestions? (I consider them, albeit minor problems so far, they are very annoying & kind of slow down the loading of requests)
Thank you in advance :-)
Aurora
Error message 1
Line: 18
Char: 3
Error: Object expected
Code: 0
URL: [URL]Blog1.php, blog2.php, Blog3.php & blog4.php (In blog5.php it is line: 35 - Below)15 <script type="text/javascript" src="http://www.elrinconcitodeaurora.net/rsc/js/jquery/jquery.scrollwide.min.js?v=5.0.6-stable"></script>
16 <script type="text/javascript">
17 /* <![CDATA[ */
18 jQuery( document ).ready( function()
19 {
20 jQuery( "div.wide_scroll" ).scrollWide( { scroll_time: 100 } );
21 } )
22 /* ]]> */
23 </script>
Error message 2
Line: 30
Char: 3
Error: Object expected
Code: 0
URL: [URL]Blog1.php, blog2.php, Blog3.php & blog4.php (In blog5.php it is line: 35 - Below)26 <script type="text/javascript" src="http://www.elrinconcitodeaurora.net/rsc/js/colorbox/jquery.colorbox-min.js?v=5.0.6-stable"></script>
27 <link rel="stylesheet" type="text/css" href="http://www.elrinconcitodeaurora.net/rsc/css/colorbox/colorbox.css?v=5.0.6-stable" />
28 <script type="text/javascript">
29 /* <![CDATA[ */
30 jQuery(document).ready(function()
31 {
32 jQuery("a[rel^='lightbox']").colorbox(
33 {
34 maxWidth: "95%",
35 maxHeight: "90%",
36 slideshow: true,
37 slideshowAuto: false,
38 minWidth: 255
39 } );
40 } );
41 /* ]]> */
42 </script>
Error message in blog5.php
Line: 35
Char: 3
Error: Object expected
Code: 0
URL: http://www.elrinconcitodeaurora.net/blog5.php31 <script type="text/javascript" src="http://www.elrinconcitodeaurora.net/rsc/js/colorbox/jquery.colorbox-min.js?v=5.0.6-stable"></script>
32 <link rel="stylesheet" type="text/css" href="http://www.elrinconcitodeaurora.net/rsc/css/colorbox/colorbox.css?v=5.0.6-stable" />
33 <script type="text/javascript">
34 /* <![CDATA[ */
35 jQuery(document).ready(function()
36 {
37 jQuery("a[rel^='lightbox']").colorbox(
38 {
39 maxWidth: "95%",
40 maxHeight: "90%",
41 slideshow: true,
42 slideshowAuto: false,
43 minWidth: 255
44 } );
45 } );
46 /* ]]> */
47 </script>
In b2evolution 4.1.5, the errors were:
Blog1.php
Line: 27
Error: Object expected23 <script type="text/javascript" src="http://elrinconcitodeaurora.net/tuya/rsc/js/colorbox/jquery.colorbox-min.js?v=4.1.5"></script>
24 <link rel="stylesheet" type="text/css" href="http://elrinconcitodeaurora.net/tuya/rsc/css/colorbox/colorbox.css?v=4.1.5" />
25 <script type="text/javascript">
26 /* <![CDATA[ */
27 jQuery(document).ready(function()
28 {
29 $("a[rel^='lightbox']").colorbox({maxWidth:"95%", maxHeight:"90%", slideshow:true, slideshowAuto:false });
30 });
31 /* ]]> */
32 </script>
Blog2.php
Line: 21
Error: Object expected
blog3.php (Linkblog) List of errors
Line: 21
Error: Object expected
Line: 86
Error: '$' is undefined
Line: 125
Error: '$' is undefined
Line: 164
Error: '$' is undefined
Line: 203
Error: '$' is undefined
Line: 242
Error: '$' is undefined
17 <script type="text/javascript" src="http://elrinconcitodeaurora.net/tuya/rsc/js/colorbox/jquery.colorbox-min.js?v=4.1.5"></script>
18 <link rel="stylesheet" type="text/css" href="http://elrinconcitodeaurora.net/tuya/rsc/css/colorbox/colorbox.css?v=4.1.5" />
19 <script type="text/javascript">
20 /* <![CDATA[ */
21 jQuery(document).ready(function()
22 {
23 $("a[rel^='lightbox']").colorbox({maxWidth:"95%", maxHeight:"90%", slideshow:true, slideshowAuto:false });
24 });
25 /* ]]> */
26 </script>
Blog4.php (Photoblog)
Line: 20
Error: Object expected
3 cihuamexica Oct 11, 2013 02:45
Thank you, you were right, all the 'rsc' sub-directories were missing; I did a manual upgrade of only the pertinent files and, oops! I missed them.
Sorry I didn't reply promptly. I didn't see this reply earlier but I'll be more careful in the future.
I thank you very much for you on target answer.
Hi @cihuamexica,
I haven't a concrete answer right now but it looks like your site is missing all the javascript files. Please look into your directory /blogs/rsc/js, there should be some folders and several files inside them, you don't have any.
Related note: you should ask your hosting provider for prevent directory listing, is not a good idea to show them with no restrictions! Please read this: https://www.golemtechnologies.com/articles/disable-directory-listing