RSGallery2 Support Forums
Welcome, Guest. Please login or register.

Login with username, password and session length
  Home    Forum    Help    Search    Login    Register  
*
News : December 03, 2008, 06:47:31 pm
+  RSGallery2 Support Forums
|-+  RSgallery2 support forums
| |-+  RSgallery2 bugs & problems (Moderators: Jonah, Tomislav Ribicic, Daniel Tulp, Ronald Smit)
| | |-+  [NOT A BUG]Broke my entire site with one line of test code! Please help!
Advanced search
  « previous next »
Pages 1
Author
Topic: [NOT A BUG]Broke my entire site with one line of test code! Please help!  (Read 1294 times)
« on: April 22, 2008, 11:49:57 pm »
ewoodlore Offline
Newbie
*
Posts: 10



I did something major wrong and brought down our DEV site.  Here's what I did:

1.  I downloaded a copy of /modules/mod_rsitems.php to try to fix the gallery linking problem.
2.  I made a one line tweak to test the code:
Original Line:
    $RSG2Itemid = $RSG2Itemidobj[0]->id;
I added after that line:
   $RSG2Itemid = $RSG2Itemidobj[277]->id;
to see if I could force the ItemID in the URL (it was only a test!)
3.  I uploaded / overwrote the file ad refreshed the page.  I got this error:
We're sorry but the page you requested could not be found.

We have OpenSEF running but any page I try to go to is broken.

4. I reinstalled the backed-up copy and still keep getting the same error.
5. Thinking I could easily fix this problem, I uninstalled the rsitems module.  Still same errors.
6  I reinstalled the rsitems module and still get the smae errors, but now I have to recreate the 6 copies of the rsitems modules I had throughout my templates.

Please help!  What did I do?  I noticed that I can't access the Jevents calendar in the backend and in the frontend, I get a warning:

Events Calendar
This module needs the Events component

How did my little test break another component?
« Last Edit: April 23, 2008, 01:57:26 am by john » Logged
 
Reply #1
« on: April 23, 2008, 12:04:16 am »
ewoodlore Offline
Newbie
*
Posts: 10



I see that others have had the similar errors, but in my case I actually did something to the code (above) and this happened.  If this is just a cache issue, I will be so happy, but I think it's more than that!

http://forum.joomla.org/viewtopic.php?f=428&t=274609&start=0&st=0&sk=t&sd=a
Logged
 
Reply #2
« on: April 23, 2008, 01:50:13 am »
ewoodlore Offline
Newbie
*
Posts: 10



I figured out what was wrong and feel even dumber than before.  Somewhere after making my first or second FTP transfer, I must have clicked some button in the FTP program that renamed my components folder to httpdocs.  Once I changed my folder name back, almost everything works, except for my Jevents Calendar module, but I'm working on that now!  Sorry everyone for the false alarm!
Logged
 
Print  Pages 1
« previous next »
Jump to: